Jyotirmaya
Board Regular
- Joined
- Dec 2, 2015
- Messages
- 205
- Office Version
- 2019
- Platform
- Windows
I have 1000+ rows in excel, in all rows of Column A there are only three texts that is "DEMAND" "COLLECTION" "BALANCE"
I want to calculate the column F total based on the text of column A.
for example
1 DEMAND 10
2 COLLECTION 20
3 BALANCE 50
4 DEMAND 80
5 DEMAND 10
1 2 3 4 5 are the row numbers and values are supposed in column F, then I want the result of DEMAND total is 100 as 10+80+10. I dont want to filter data. what should be the formula ??
F10 = SUM(IF(A1:A10="DEMAND")*SUBTOTAL(9,INDIRECT(F1:F10)))
this is what I have tried but not working some modification required
I want to calculate the column F total based on the text of column A.
for example
1 DEMAND 10
2 COLLECTION 20
3 BALANCE 50
4 DEMAND 80
5 DEMAND 10
1 2 3 4 5 are the row numbers and values are supposed in column F, then I want the result of DEMAND total is 100 as 10+80+10. I dont want to filter data. what should be the formula ??
F10 = SUM(IF(A1:A10="DEMAND")*SUBTOTAL(9,INDIRECT(F1:F10)))
this is what I have tried but not working some modification required