Formula query

Godders199

Active Member
Joined
Mar 2, 2017
Messages
313
Office Version
  1. 2013
Hi, i have written the following formula, all elements work correctly, apart the from last, which returns "true" instead of Medium.

=IF(CV6<>"",CV6,IF(CT6>=Macros!S$17,"Material",IF(CT6<=Macros!S$15,"low",IF(CT6>Macros!S$15,CT6<Macros!S$17,"medium"))))

I have tried making if or .. or if and but those dont work and running out of ideas.

Any help would be appreciated.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Sorry

=IF(CV2<>"",CV2,IF(CT2>=Macros!S$17,"Material",IF(CT2<=Macros!S$15,"low",IF(CT2>Macros!S$15,CT2<Macros!S$17,"medium"))))
 
Upvote 0
=if(cv2<>"",cv2,if(ct2>=marcos!ss$17,"material",if(ct2<=Marcos!s$15,"low",if(ct2>marcos!s$15,ct2<marcos!s$17,"medium"))))

just typed it rather than trying to copy.
 
Upvote 0
{"=IF(CV2<>"",CV2,IF(CT2>=Macros!S$17,"Material",IF(CT2<=Macros!S$15,"low",IF(CT2>Macros!S$15,CT2<Macros!S$17,"medium"))))"}
 
Upvote 0
can't get the hold forumla to stay, here is the bit that does not work.

IF(CT2>Macros!S$15,CT2<macros!s$17,"medium")
just returns true</macros!s$17,"medium")
 
Last edited:
Upvote 0
Thanks have worked it out with If and , i had left a "," out
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,343
Messages
6,124,400
Members
449,156
Latest member
LSchleppi

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