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 AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
If it is try

=IF(OR(C19>LOOKUP(C3,{0,500,1000},{10,50,100}),C19<-LOOKUP(C3,{0,500,1000},{10,50,100})),"Need to work","ok to process")
 
Upvote 0
Am Really sorry for bothering you.

still am not getting. i will try to explain this in accounting terms.

Invoice is our supplier is asking money for the goods. and receipt is what we got from supplier.

we will match invoice amount and receipt amount. if the i am deducting receipt amount from invoice amount.

see if invoice amount is more and receipt value is less the diffrence will come in + value so it means this is loss for us. then if the diffrenence is +1 value also i need to say as "work on this"

and diffrence value is in - values then its fine its income for us.. but we should not cheat our suppliers. hence. if the diffrence value is -10 and less for $ 500 invoices its ok not more than that same way other condtions.

hope the above words are helpful
 
Upvote 0
Not sure, but try

=IF(OR(AND(C19>0,C19<=LOOKUP(C3,{0,500,1000},{10,50,100})),AND(C19<0,C19>=-LOOKUP(C3,{0,500,1000},{10,50,100}))),"ok to process","Need to work")

Or a better version

=IF(ABS(C19)<=LOOKUP(C3,{0,500,1000},{10,50,100}),"ok to process","Need to work")
 
Last edited:
Upvote 0
yes its working just need small changes.

when the diffrence amount is in positive value.. i mean c19 is any value if not minus.. it should say "need to work"

and first condtion is not working.. ( if the invoice value is less than 500 and diffrence value is -10 it should say ok to process. currently upto -10 saying ok to process and saying ok to process for more than -10 as well.

please help
 
Upvote 0
Try

=IF(OR(C19>0,C19<-LOOKUP(C3,{0,500,1000},{10,50,100})),"Need to work","ok to process")
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
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