Help with IF function in a range

natthecat

New Member
Joined
Jan 14, 2020
Messages
2
Office Version
  1. 2019
Platform
  1. MacOS
I need to create a function as follows:

If in range C:1-C:20, if the text matches one of the four options below (Think, Explore, Build, Release), then add the corresponding percentage. If "Think" appears twice, then add 15%+15%.

Think15.00%
Explore20.00%
Build33.00%
Release25.00%

I tried to use the following formula, but if "think", "explore", "build", or "release" are there more than 1 time, it doesn't take that into consideration.

(IF(COUNTIF(C9:C20,"Explore"),"20%","0")+IF(COUNTIF(C9:C20,"Think"),"15%","0")+IF(COUNTIF(C9:C21,"Build"),"33%","0")+IF(COUNTIF(C9:C21,"Release"),"25%","0"))
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,223,912
Messages
6,175,340
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top