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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,214,605
Messages
6,120,473
Members
448,967
Latest member
visheshkotha

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