Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default How do I add a cell based on another cells contents?

I have cell "B3" that contains account 6651 so I want it to add January into
a totals cell. Now, if cell "B3" contains account 6751 instead I want it to
add it to January in a differnt totals cell.

b3 Jan Feb Mar Apr May
6651 1.00 2.00 3.00 4.00 5.00

Total 1 1.00 2.00 3.00 4.00 5.00
Total 2 0 0 0 0 0

or

b3 Jan Feb Mar Apr May
6671 1.00 2.00 3.00 4.00 5.00

Total1 0 0 0 0 0
Total2 1.00 2.00 3.00 4.00 5.00

I've ran so many scenarios through my head I can't figure this one out.

Help!?
Please!?
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default How do I add a cell based on another cells contents?

In Total 1 line =if(B3=6651,whatever-is-January,0)
In Total 2 line =if(B3=6671,whatever-is-January,0)
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Debbie" wrote in message
...
I have cell "B3" that contains account 6651 so I want it to add January
into
a totals cell. Now, if cell "B3" contains account 6751 instead I want it
to
add it to January in a differnt totals cell.

b3 Jan Feb Mar Apr May
6651 1.00 2.00 3.00 4.00 5.00

Total 1 1.00 2.00 3.00 4.00 5.00
Total 2 0 0 0 0 0

or

b3 Jan Feb Mar Apr May
6671 1.00 2.00 3.00 4.00 5.00

Total1 0 0 0 0 0
Total2 1.00 2.00 3.00 4.00 5.00

I've ran so many scenarios through my head I can't figure this one out.

Help!?
Please!?
Thanks!



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
Significant number rounding based on key cell Slashman Excel Worksheet Functions 2 August 27th 06 11:04 PM
inserting a named range into new cells based on a named cell Peter S. Excel Discussion (Misc queries) 1 June 4th 06 03:53 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Modify Row & Cell Contents based upon Cells Values bpat1434 Excel Worksheet Functions 1 November 7th 04 04:12 AM
Modify Row & Cell Contents based upon Cells Values bpat1434 Excel Worksheet Functions 1 November 6th 04 06:17 PM


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