Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Connecting Worksheets using and "if" "then" formula

I have a worksheet containing an annual budget. Column A is coded to help
identify the source of the revenue/credit and has the debit and credit
figures appear in columns "E" and "F". I want to create a formula that
allows me to summarize the totals for each code. ie, find all the similar
codes (code 1, code 2, code 3, etc) in column A and then add all the
corresponding figures in columns E and F, to appear in one lump sum in a
different worksheet. This will give me a birdseye view of where all the
money went for each code.

So, I imagine you have to go in the summary worksheet box, and enter a
statement akin to: If A=1, then SUM(E&F). But, I want the total of ALL
columns E and F taht correspond to a code in column A.

Does this make sense? Thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Connecting Worksheets using and "if" "then" formula

Try something like this:

=SUMPRODUCT((Sheet1!A1:A20=1)*Sheet1!E1:F20)

--
Biff
Microsoft Excel MVP


"sstensrud" wrote in message
...
I have a worksheet containing an annual budget. Column A is coded to help
identify the source of the revenue/credit and has the debit and credit
figures appear in columns "E" and "F". I want to create a formula that
allows me to summarize the totals for each code. ie, find all the similar
codes (code 1, code 2, code 3, etc) in column A and then add all the
corresponding figures in columns E and F, to appear in one lump sum in a
different worksheet. This will give me a birdseye view of where all the
money went for each code.

So, I imagine you have to go in the summary worksheet box, and enter a
statement akin to: If A=1, then SUM(E&F). But, I want the total of ALL
columns E and F taht correspond to a code in column A.

Does this make sense? Thank you for your help.



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
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Why is "History" a "reserved name" while naming Excel worksheets? Pradeep Excel Discussion (Misc queries) 1 June 30th 06 12:55 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 03:13 PM.

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"