Need help on IF Formula on multiple condition

Dhinakaran

New Member
Joined
Mar 30, 2016
Messages
49
Office Version
  1. 365
  2. 2021
  3. 2016
Platform
  1. Windows
Hey Team,

Need your help on multiple if condition formula to bucket the below values as i need to bucket the closing balance as below,
If the closing balance is between 1 to 10000 then it should be bucketed as Less than 1000.
If between 10001 to 50000 should be bucketed as >10000<50000.
If between 50001 to 100000 should be bucketed as >50000<100000
If greater than 100000 should be bucked as >100000.

Sundry DebtorsBucketedClosing balance
Abdul Arbaz-V2170,573
Abdul Kafoor rmn-V22,641
Abdull Suban Pasha-V210,567
Abdul Majjid RMN-V2720
ABDUL RAFIQ-V210,838
Abdul Rashid new-V223,206
Abdul Rasul Rmn-V212,920
Abdul Razak - V278,614
Abdul Rehman Baig

V2
2,806,023
Abdul Sufiyan Rmn-V24,614
Abdul Waajid-V2475,215
Abdul Zabeer C2Y-V2(28,998)
Abdul Zahir Kollegal-V220,826
AB Silks Rmn-V2232,171
Abu Bukker jtv-V2(41,317)
Adil Khan Rmn - V26,953
Adil Khan Rmn-V2-RMREELER401814
131,422
Afroz Haveri-V2250
Afroz Khan RMN-V221,688
Afsara Khan - V2217,101
Afshan-V272,071
Afzal khan Rmn-V21,843
Afzal Pasha Jtv-V2-RMREELER401618
409,145
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
With C2 is number:
In B2:
Code:
=IFERROR(LOOKUP(2,1/(C2>={0;10000;50000;100000}),{"Less than 10000";">10000<50000";">50000<100000";">100000"}),"Negative value")
 
Upvote 0
Solution
With C2 is number:
In B2:
Code:
=IFERROR(LOOKUP(2,1/(C2>={0;10000;50000;100000}),{"Less than 10000";">10000<50000";">50000<100000";">100000"}),"Negative value")
Thanks Bebo, Understood the logic. Though curios to know why 2,1 is being considered in the formula.
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,883
Members
449,477
Latest member
panjongshing

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