If Statement help

erniepoe

Active Member
Joined
Oct 23, 2006
Messages
375
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I know I'm close with this one, but need help getting across the finish line. Basically, if column T = yes, column J = SGIP, and column K contains the words "signed contract", i want to multiply the value in column S by .2.

Otherwise, if the value in column T = yes (regardless of what is in columns J or K, i want to mutiply column T by .4.

And if course, if column T is No, the value should be 0.

Any help is much appreciated, thank you!

-Ernie


=IF(T2="No",0,IF(AND(T2="yes",J2="SGIP",SUM(COUNTIF(K2,{"*signed contract*"}),S2*0.2)),IF(T2="YES",S2*0.4),0))
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi,

Try this out:


Excel 2010
A
10
Sheet2
Cell Formulas
RangeFormula
A1=IF(T2="Yes",IF(AND(J2="SGIP",ISNUMBER(SEARCH("signed contract",K2))),S2*0.2,S2*0.4),0)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,338
Messages
6,124,346
Members
449,155
Latest member
ravioli44

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