Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
JHL
 
Posts: n/a
Default Formula Help

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide formula skateblade Excel Worksheet Functions 10 October 15th 05 08:36 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


All times are GMT +1. The time now is 03:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"