This is like tax question.
If Salary A1 < C1 then D1
If Salary A1 is between C1 and C2 then D2
....
If A1=90234 then at B2 I sould get D3=20
Range C1:D6
C1= 60000 D1=10
C2= 90000 D2=16
C3= 123000 D3=20
C4= 162000 D4=24
This is like tax question.
If Salary A1 < C1 then D1
If Salary A1 is between C1 and C2 then D2
....
If A1=90234 then at B2 I sould get D3=20
Range C1:D6
C1= 60000 D1=10
C2= 90000 D2=16
C3= 123000 D3=20
C4= 162000 D4=24
Last edited by ionelz; 08-21-2020 at 12:46 PM.
Your Question makes no sense.
What is B1 and what is B2?
And If A1 is < B1 why are we even talking about D1 to D4
My General Rules if you want my help. Not aimed at any person in particular:
1. Please Make Requests not demands, none of us get paid here.
2. Check back on your post regularly. I will not return to a post after 4 days.
If it is not important to you then it definitely is not important to me.
Yes, sorry, corrected...
You should use a formula like
=LOOKUP(A1,{0,60000,90000,123000,162000},{0,10,20,30,40,40})
then you do not need to use a table.
Thanks
I would like to be able to change in range C1:D4, not in formula
Try
=LOOKUP(A1,C1:C4,D1:D4)
I get D2 (not D3), so I get the more close value
Hi
First value must be 0, i.e. C1=0 ; D1=10, ...
You can use another formula
Formula:Please Login or Register to view this content.
See the file
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks