Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default help in nested if formulas

I keep a series of worksheets for weekly sales results that contain sales
results from Last year and entry points for comparison for sales for this
year eg
wk 1 Wk2 wk3 Wk4 Period to date
Year to date
TY LY % Ty LY % Ty Ly % TY Ly % Ty LY % Ty
LY %

Last years data is already populated from the previous year's sheet
automatically. My conumdrum is this. As I enter wk 1 this years sales, then
week 2 etc. they compare themselves to the already totalled period sales from
LY. I want the data in Period to date to add together as I enter in this
years sales. My attempt using IF nested formulas failed..here is what I tried.

=IF(B60,SUM(C6)),IF(E60,SUM(C6+F6)) and so on for wks 3 and 4.
Unfortunately because the IF value in the first formula is true as well as
the second as I enter the data, individually they are correct but the second
formula will not overide the first and by default the third (if i continued
on for wks 3 and 4) will not overide the second etc. Is there a way to have
each formula overide the previous to give a correct accumulated value for
last years sales to compare with the current data for this year???
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav Dav is offline
external usenet poster
 
Posts: 1
Default help in nested if formulas


Im not entirely clear what you require but perhaps

=SUMPRODUCT((MOD(COLUMN(C4:M4),3)=0)*(B4:L40)*(C4 :M4))

if the column is c, f, i, l is the first condition

if the if the values one column to the left are 0 your condition, not
this range must be the same length as the previous range, but starts
and finishes one colum earlier

if both of the above conditions are true sum the corresponding values

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=563542

Reply
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
How to Evaluate Dynamic DDE Formulas MArcus Baffa Excel Worksheet Functions 5 September 12th 06 10:35 PM
How do I use wild cards in nested array formulas? hopeit Excel Worksheet Functions 7 August 16th 05 02:18 AM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
locking formulas?? Rob Excel Discussion (Misc queries) 1 July 27th 05 09:27 AM
Need Formulas for counting multiple conditions OrdOff Excel Worksheet Functions 4 July 3rd 05 06:12 PM


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

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

About Us

"It's about Microsoft Excel"