Need nested if formula

Excelmasters

Board Regular
Joined
Jun 11, 2015
Messages
115
Hello All,

I need a Nested if and am sure i will get some help here.

My answer should be in cell b20

My criteria is

Note difference amount is in B19






Excel 2010
DEFGH
5if Invoice amount is less than500
6different amount can be10 or lesser
7
8
9if Invoice amount is between<500 to 1000>
10different amount can be50 or lesser
11
12if Invoice amount is more than1000
13different amount can be100 or lesser
14
15if any condition matches it should be "ok to process" or else "Need to work"

<tbody>
</tbody>
Sheet1





Excel 2010
BC
2Invoices Less than 500
3Invoice Amount$ $ 500.00
4Receipt$ $ 10,000.00
5 $ 5,000.00
6 $ 3,000.00
7
8
9
10
11
12
13
14
15CRI Letter$ $ 1,250.00
16
17Receipt Total$ $ 18,000.00
18Receipt plus Letter$ $ 19,250.00
19Diff amt$ $ 10.00
20ok to process
21
22

<tbody>
</tbody>
Data
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
You need 2 formulas, one for "different amount" and one for the result "ok to process" or "need to work" ?

Different Amount
=LOOKUP(C3,{0,500,1000},{10,50,100})

I dont understand this bit

if any condition matches it should be "ok to process" or else "Need to work"

You've covered ALL the possibilities, so one of them conditions will ALWAYS match hence the result will always be "OK to process"
 
Upvote 0
Hi Special,

thanks for the help.

can't we have both the cell condition and get result.

this is for audit purpose. when there is a diffrence amount comes between two accounts we need to check what is the invoice amount.

as i said early. if invoice amount is less than $500 and diffrence amount is less than or equal to 10 then its ok or else we need to work on that same way other conditions.

if invoice amount is between 500 to 1000 and diffrence can be 50 or lesser .

if invoice amount is more than $ 1000 diffrence amount can be upto $100 if diffrence crosses the limit we need to work.

can we have all conditions in one nested if.?

thanks
 
Upvote 0
Would it be

=if(C19>LOOKUP(C3,{0,500,1000},{10,50,100}),"Need to work","ok to process")
 
Upvote 0
Gaz,

i came back again.

iam sorry...can we make it the same condition in minus values.. i mean if the diffrence amount is in Minus then this it should be "ok to process" or else need to work.

that too... if the minus values should not go down.. example.. -10 ok not -11 and -50 ok not -51 -100 ok not -101
 
Upvote 0
Think I understand, try

=IF(C19<-LOOKUP(C3,{0,500,1000},{10,50,100}),"Need to work","ok to process")
 
Upvote 0
No am not getting..

its simple..

the same condtion. if the diffrence value is in minus value (my criteria such as -10, -50 ,-100) should be ok to process..or else if diffrence is $1 in (positive+) also it should be need to work
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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