Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Gentlemen: Thank you for your assistance. Youe suggestion did help me create
a workaround formula (see below FYI). It is a bit larger than I was hoping for but it does work. Now I just need to work out the negitive number aspects. Thanks again =IF(BL22=1,BL23,IF(BL22=2,BL23/2,IF(BL22=3,BL23/3,IF(AND(BL223,(BL22-INT((BL22/3))*3)=1),BL23,IF(AND(BL223,(BL22-INT((BL22/3))*3)=2),BL23/2,0))+BB38))) "Sparky13" wrote: How would I write a formula to produce various results in differant cells based on a portion of a number in another cell. Excel 2003 Cell A contains a variable number. Cell B also containes a variable number. I need to calculate: Cell C results need to be based on 1/3rd of Cell A x Cell B, if Cell A is evenly divided by 3. This part is not a problem (B/(A/3). If Cell A can't be evenly divided than: Cell A results need to be (B/(A/3) + 100% of cell B if the remainder is "1" or 50% of Cell B if the remainder is "2" . Than comes Cell D: This result needs to be (B/(A/3) + 0% if remainder is "1" and 50% of cell B if remained is "2" Than comes cell C: This result needs to be (B/(A/3) only on the hole number result of A/3. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
Number value based on date function | Excel Worksheet Functions | |||
Using the Indirect function with a sheet number instead of a sheet name | Excel Worksheet Functions | |||
Function to calculate the number of years, months and days between | Excel Worksheet Functions |