LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default How can I leave the contents of a cell alone in an IF statemen

Thanks Bernard. What you provided will work if I wanted more of a running
MTD total. What I have is a spread sheet that looks similar to this:
As you can see the WTD amount will be entered for each cat. What I am
looking for is a way to add across to get the MTD value for Cat A. (in other
words MTD = MTD + WTD for Cat A; 3 + 0 = 3 (assuming this is the first week
of the month). I can use the SUM function to get the grand total of all MTD
values.
I hope the example explains my situation. This seems so simple in concept,
but I think I can't see the forest for the trees.

Company A
Date Goes Here
Categories WTD MTD YTD
Group 1 12 12 301 (note: @sum is used to get these ttls)
Cat A 3 3 120 (this ex represents the first week)
Cat B 1 1 16
Cat C 3
Cat D 1 1 3
Cat E 2
Cat F 4 4 58
Cat G 3
Cat H 2 2 76
Cat I 2
Cat J 1 1 9
Cat K 8
Cat L 1

"Bernard Liengme" wrote:

An alternative to Niek's solution is:
=SUM($A$1:A1) in B1 and copy down as needed
and if you want to see nothing when the A cell is empty:
=IF(ISBLANK(A1),"",SUM($A$1:A1))
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Niek Otten" wrote in message
...
B1: =A1
B2: =B1+A2, Copy down as far as needed

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Ken" wrote in message
...
| This is so simple I cannot believe I can't see the answer. I have a
| situation where column A is the current weeks totals (ex: a1 = 6, a2 =
10, a3
| = 12). I need to have column b equal the month-to-date totals (b1 =
b1+a1,
| b2 = b2+a1, b3=b3+a3). I realize this is dealing with circular
references,
| but I find it hard to believe that a situation like this cannot be
easily
| resolved. Anyone come across this and find a solution?







 
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
Formulas to copy contents of one cell in a worksheet to another ce Coachy Excel Discussion (Misc queries) 1 November 11th 06 02:13 AM
Selectively Clearing cell contents jdd Excel Worksheet Functions 2 April 22nd 06 04:06 AM
Returning Cell Value if someone deletes the contents of a cell mmc308 Excel Worksheet Functions 4 March 31st 06 06:41 PM
How do I get a number or letter to represent cell contents? Formula help Excel Discussion (Misc queries) 2 February 25th 06 11:51 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


All times are GMT +1. The time now is 07:52 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"