Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I would like to create a formula that looks at four days on hand criteria and returns a value based on a band of days
Ex: if the lookup value is <=30 return "35" if the lookup value is between 36 and 40 return "25", if the lookup value is between 41 and 44 return "15" and if the lookup value is above 45 return "0" any help is most appreciated |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi David,
Am Wed, 15 Oct 2014 16:41:38 +0100 schrieb Davidgberg: I would like to create a formula that looks at four days on hand criteria and returns a value based on a band of days Ex: if the lookup value is <=30 return "35" if the lookup value is between 36 and 40 return "25", if the lookup value is between 41 and 44 return "15" and if the lookup value is above 45 return "0" and what about the values between 31 and 35? Try: =VLOOKUP(A1,{0,35;36,25;41,15;45,0},2,1) Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi David,
Am Wed, 15 Oct 2014 17:56:18 +0200 schrieb Claus Busch: =VLOOKUP(A1,{0,35;36,25;41,15;45,0},2,1) have a look: https://onedrive.live.com/?cid=9378A...121822A3%21326 for the workbook "David" Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula autofill to cells below – formula arguments are cell areas in different columns | Excel Discussion (Misc queries) | |||
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula | Excel Worksheet Functions | |||
Formula expected end of statement error, typing formula into cell as part of VBA macro | Excel Programming | |||
Cell doesn't show formula result - it shows formula (CTRL + ' doe. | Excel Worksheet Functions | |||
Commenting custom formula fields/formula on formula editor | Excel Programming |