Calculating Stock [closed] - excel

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 days ago.
Improve this question
Looking for an automated process:
We have multiple cable drums in 'stock',
The cable is then cut into lengths and recorded using the batch number from the relevant drum.
I want to create a 'remaining QTY' amount as each individual cut cable entry is entered into a spreadsheet.
enter image description here

Text: Remaining QTY = QTY - Used (where first column header = first column)
Excel: F2 = E2 - SUMIF(A10, A2, C10)

Related

Count the number of columns with ID x in excel [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I'm trying to count the columns that have the same name. I need a formula to apply it to all data.
For example, I am trying to count the amount of cloumns with ID=11 and write them in row "N".
Is there a simple formula for this?
Try using COUNTIF:
=COUNTIF(A3:A25, 11)

Count Data from Excel when one cell had array data [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have some data in excel and i want to count of data, as simple as that..
I'm using countif/countifs but return number was wrong..
I want to return count of data from B3:B10 and the criteria is C3
Here's data :photo
To count the number of cells that contain at least one instance of 111111 use:
=COUNTIF(B3:B10,"*" & C3 & "*")
To count the number of times 111111 occurs, use:
=(LEN(TEXTJOIN(",",TRUE,SUBSTITUTE(B3:B10," ","")))-LEN(SUBSTITUTE(TEXTJOIN(",",TRUE,SUBSTITUTE(B3:B10," ","")),C3,"")))/LEN(C3)

Add suffix in excel for conditional list [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to add suffix ')' in all the cells in excel which are in '(XXX' format.
Example:
Data: (1123 (212 254 123 (124 (12
desired: (1123) (212) 254 123 (124) (12)
Thanks,
Srinivas K.
Create a row or column next to your data, depending on how it's laid out, and use:
=IF(AND(LEFT(A1,1) = "(", RIGHT(A1,1) <> ")"),CONCAT(A1,")"),A1)
Where A1 is your first cell of data you wish to manipulate, then drag down or across for all valid cells.

Excel VBA sub to fill a column with Countifs [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to automate a Sub routine to work on 15 000 rows. I have customer that either computer, vdi and other IT equipment. Each row is a record of the name of customer with the it equipment they have. I analyze the how many computer each customers have but for that I need to count duplicates. Basically I want to output the result fill it down to the last row( row change every time).
Thank you very much
Because it is a simple 1-liner:
Range("N2:N" & Cells(Rows.Count, 11).End(xlUp).Row).Formula = "=COUNTIFS(C[-3],RC[-3],C[-1],1)"

Numbering a column of mixed items [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have a column with multiple labels that I need to number. eg:
A|1
B|1
C|1
A|2
B|2
B|3
C|2
A|3
A|4
So each A gets listed 1 through 4 even though there are Bs and Cs in between. The Bs and Cs also need to get numbered.
If the first letter is in A2, place this formula in B2 and copy down to the last letter:
=COUNTIF(A$2:A2,A2)
What this does is place the count of all the prior occurrences of the letter on the current row (including the current row) in the cell.

Resources