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)"
Related
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)
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)
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
In one part of my spreadsheet, I am calculating odds ratios. I have one column (V) with the OR, and then W and X with the confidence intervals. In another column (M), I am trying to get excel to list this information in one cell.
i.e.
0.78 (0.25, 2.46)
I have just been copying the information, but this is prone to errors and takes ages, so I am looking for a better way.
Any ideas?
Try a formula like:
=[#columnV]&"("&[#columnW]&","&[#columnX]&")"
This should concatenate row wise down the entire table with the desired format.
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 4 years ago.
Improve this question
I have nearly 800 cells(A1:A800) in my main sheet. Each cell should copy to different sheet with an order. First cell in main sheet('main'!A1) copy to first sheet('1'!A1) , second cell('main'!A2) copy to second sheet('2'!A1) etc.I created 800 sheets already. I don't know VBA very well. I couldn't find any code that fits my problem. Thanks for help!
If I am seeing what you are trying to do, it shouldn't be too hard.
You could hardcode a for loop to 800.
for i = 2 to 800
Range("A"&i).Copy Destination:=Sheets(i).Range("A" & i)
next
This is similar albeit a bit more involved
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 4 years ago.
Improve this question
I'm working on a budgeting spreadsheet that has a different replacement cycle for equipment and I want to visualize when everything will be scheduled to be replaced.
Column 1=name, Column 2=deployed, Column 3=expected life, Column 4=retire date, Column 5=price
I want to have another table next to it that shows the next several deploy dates (for the next 15 years) based on the expected life. Right now, I'm having to manually count over X number of cells and enter in the price and then count over again.... for each row.
I know there has to be a automated way to do this, but I'm new to excel macros and I've looked at several functions, but can't get anything figured out. What functions should I be looking at?
A formula like:
=IF((G$1-YEAR($B2))/$C2=ROUND((G$1-YEAR($B2))/$C2,0),$E2,"")
Should do the trick
(the above for column G, it is assumed the year is in G1)