Forum Discussion
steve_berne
Jul 20, 2022Copper Contributor
formula in Countifs
I have a column of dollar values. I am trying to write a formula where I look at three different ranges of dollars in the column and equate each dollar range with a value. For example: cells in the c...
- Jul 20, 2022
=COUNTIFS(B2:B20,">="&2000,B2:B20,"<="&3000)*0.5+COUNTIFS(B2:B20,">="&4000,B2:B20,"<="&5000)*1+COUNTIFS(B2:B20,">="&6000,B2:B20,"<="&7000)*2You can try this formula.
OliverScheurich
Jul 20, 2022Gold Contributor
=COUNTIFS(B2:B20,">="&2000,B2:B20,"<="&3000)*0.5+COUNTIFS(B2:B20,">="&4000,B2:B20,"<="&5000)*1+COUNTIFS(B2:B20,">="&6000,B2:B20,"<="&7000)*2You can try this formula.
steve_berne
Jul 20, 2022Copper Contributor
Excellent!!! thank you! that worked.