Multiple logic If function

77winston

New Member
Joined
Sep 11, 2013
Messages
31
Office Version
  1. 2013
Platform
  1. Windows
Hi,
I was hoping someone can help me with an issues I'm having in excel. I'm pretty sure this will be an easy fix for most of the users on here. I'm still trying to get my head around if statements and finding it quite hard to achieve the end result.
I have the following table (example). I want a formula that will test all 3 columns and return if its true or false.
Basically I want the formula to check if Service 1 and Service 2 are populated, if populated check if the value is greater than $5 then return "True". In the event only service type 1 is populated then the value should be $5 then return "True". In the event service 1 and service 2 are populated but value does not equal 10 then return "False". In the event service type 1 is populated and no value is populated then return "False".

Service1 Service2 Values
7 1 $10 Formula should reflect "TRUE"
14 $5 Formula should reflect "TRUE"
9 $0 Formula should reflect "False"
27 5 $5 Formula should reflect "False"

Hope someone can help me with this
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
You seem to contradict yourself in your description of the behavior so I had to guess that you only wanted exact matches to 5 and 10 to be TRUE. If >5 is okay, just change the "=5" to ">5" in the formula, etc.

Excel 2010
ABCD
1Service1Service2ValuesFormula
271$10 TRUE
314$5 TRUE
49$0 FALSE
5275$5 FALSE

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet4

Worksheet Formulas
CellFormula
D2=IF(ISBLANK(A2),FALSE,IF(ISBLANK(B2),IF(C2=5,TRUE,FALSE),IF(C2=10,TRUE,FALSE)))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,739
Members
448,989
Latest member
mariah3

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