Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
Using Excel97 I have a spreadsheet with columns week1, week2, difference. Column totals at bottom. The difference column has this formula: (week2-week1) Some week1 an 2 amounts are both negative amounts, so I have this formula to Adjust for that: =IF(AND(C2<0,B2<0),(C2-B2)*-1) Question 1 : is there a way to write a formula that will handle the majority of the amounts which are positive in both columns and adjust for when they are both negative amounts? Week1 Week2 difference 1,234 5698 4,467 -5698 -1234 4,467 Question 2: Sometimes the total at the bottom of one of the columns may be negative, while the other column maybe be positive. Will the formula here need to be done manually when this situation arises, or is there a better way to handle it? Example: subtotWeek1 subtotWeek2 difference 1,234 -5698 week2-week1 (would yield an incorrect result) Thanks for any Help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hide formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
IF & VLOOKUP FORMULA | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Help with macro formula and variable | Excel Worksheet Functions |