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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,022
Latest member
RobertV1609

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