If function.. Error - the specified formula cannot be entered because it used more levels of nesting....

Sandeep Singh

New Member
Joined
Mar 13, 2013
Messages
40
Hi All,

Hope Everyone is Doing Great !!!

Data on which I am applying formula.

CA1-99DH
100-199NH
200-299ME
500-599IJ
600-699UY
800-899PL
900-999UJ
AZ1-64MN
64-389OP
390-550LA
551-799SF
NH54-95LO
96-155ER
156-680CO
681-999GH

<tbody>
</tbody>



My If formula is ..

IF(D3="CA",IF(AND(E3>=1,E3<=99),C3,IF(AND(E3>=100,E3<=199),C4,IF(AND(E3>=200,E3<=299),C5,IF(AND(E3>=500,E3<=599),
C6,IF(AND(E3>=600,E3<=699),C7,IF(AND(E3>=800<=899),C8,IF(AND(E3>=900,E3<=999),C9,"Not InRange"))))))),IF(D3="AZ",IF(AND(E3>=1,E3<=64),C10,IF(AND(E3>=64,E3<=389),C11,IF(AND(E3>=390<=550),C12,IF(AND(E3>=551,E3<=799),C13,"Not In Range"))))))

I have many more if conditions to add on... but i am getting error "the specified formula cannot be entered because it uses more levels of nesting than are allowed in the current file format".

Then I have Google it to see some other formula where i can i reduce if's.

I tried this "IF(D3="CA",LOOKUP(E3,{"1-99","100-199","200-299"},{"DH","NH","ME"})) its not working.

I need some help on this... Thanks for the help in advance.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Dear FormR,


i have another question from you, let me explain you,



"sheet1!" "sheet2!"
col(A) col(B) col(C) col(A) col(B) col(C)
"roll.no" "quantity" "remaining quantity" "date" "roll no." "quantity of cutting"
1 120 85 12/4/2014 1 20
2 120 - 12/4/2014 1 15
3 1000 800 14/5/2014 3 150
6 150 - 14/6/2014 7d 50
7d 100 50 15/6/2014 3 50






above there are two sheets sheet1! and sheet2!
in sheet1! i have my main stocks data with different roll no col(A) and each have its quantity col(B) . in the


remaining col(C) it tell me that how much quantity is left . how?
in sheet2! i have 3 col .
it also has roll no. col(b) like in sheet1! and it has quantity of cutting col(C) when i enter data in col(c) of


sheet2! so it deducts the quantity from col(b) of sheet1! and tells me the remaining quantity of sheet1!


what i want to do is that when ever i enter a roll no in sheet2! with its quantity of cutting in sheet2! it


automatically tell me the right "quantity remaining with correct roll no. in sheet1!. plz help me to make a


formula.
 
Last edited:
Upvote 0
i have another question from you, let me explain

Something like this maybe (btw - you would be better off starting your own thread for new questions)


Excel 2012
ABC
1roll.noquantityremaining quantity
2112085
32120120
431000800
56150150
67d10050
Sheet1
Cell Formulas
RangeFormula
C2=B2-SUMIF(Sheet2!B:B,A2,Sheet2!C:C)
 
Upvote 0
Dear FormR, can you help me with the following problem. Let me explain you,

Sheet1!

ORDER NO. /NAME
DATE
ROLL.NO
QUANTITY OF CUTTING (YARDS)
SOLD RATE
R#115
2/7/2014
129
4.50
525
R#117
2/7/2014
179
5.00
410
R#579
3/7/2014
267
25.00
285
R#579
5/7/2014
267
2.00
285
R#114
5/7/2014
93
1.25
180
R#114
5/7/2014
226
1.25
200
R#568
8/7/2014
227
3.00
200
R#120
8/7/2014
129
1.00
525
R#118
8/7/2014
104
3.50
450
R#118
8/7/2014
159
7.00
450

<tbody>
</tbody>


Sheet2!



ENTER ORDER NO. /NAME
DATE
ROLL.NO
QUANTITY OF CUTTING (YARDS)
SOLD RATE
R#114
5/7/2014
93
1.25
180
R#114
5/7/2014
226
1.25
200
R#118
8/7/2014
104
3.50
450
R#118
8/7/2014
159
7.00
450
R#579
3/7/2014
267
25.00
285
R#579
5/7/2014
267
2.00
285

<tbody>
</tbody>

















In sheet1! I have five columns . sheet1! Is my main sheet in which I enter my data . what I want to do is

In sheet2! Column name ”ENTER ORDER NO. /NAME” (“Which I have created as an example to show you what I want”) when I enter my enter my data it shows me the exact “DATE”, “ROLL.NO”, “QUANTITY OF CUTTING (YARDS)” ,” SOLD RATE”. Even if I have multiple SAME data in “ENTER ORDER NO. /NAME” . which I have shown you in sheet2!
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,947
Members
449,095
Latest member
nmaske

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