Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Excel Datalist functions / lookup summary

Dear Excel Users,

My problem is following. I have one table with 2 columns and 30 rows.
In the right column the user can choose in a drop down list 1 of 5
ledgers (Accounting) for each row. In the left column I have dollar
values.
Now, filling in the rows 1 to 30 the ledgers (right column) chosen will
repeat themselves.
At the bottom I would like to have 5 independent cells showing a the
sum for one of the five accounts.

Example:

ledger number 1

row 1 5$
row 5 10 $
row 15 10 $

The sum cell one should sum all dollar values for ledger number 1 which
has entries in row 1,5 and 15. So the formula needs to go into each of
these rows and selects the left one of the colums in order read out the
dollar values and total them which is here 25$.

Same for ledger number 2 to 5 in different sum cells.

Anyone any idea how this works.

  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Excel Datalist functions / lookup summary

Hi
SUMPRODUCT will do this - if I understand you correctly. If your ledge
column is B, and your values are in A, try this:
=SUMPRODUCT(--($B$2:$B$1000=1),--($A$2:$A$1000))
This will sum all rows in A where the row in B equals 1.
Hope this helps.
Andy.

wrote in message
ps.com...
Dear Excel Users,

My problem is following. I have one table with 2 columns and 30 rows.
In the right column the user can choose in a drop down list 1 of 5
ledgers (Accounting) for each row. In the left column I have dollar
values.
Now, filling in the rows 1 to 30 the ledgers (right column) chosen will
repeat themselves.
At the bottom I would like to have 5 independent cells showing a the
sum for one of the five accounts.

Example:

ledger number 1

row 1 5$
row 5 10 $
row 15 10 $

The sum cell one should sum all dollar values for ledger number 1 which
has entries in row 1,5 and 15. So the formula needs to go into each of
these rows and selects the left one of the colums in order read out the
dollar values and total them which is here 25$.

Same for ledger number 2 to 5 in different sum cells.

Anyone any idea how this works.



  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Excel Datalist functions / lookup summary

Try

=SUMIF(A1:A30,1,B1:B30)
=SUMIF(A1:A30,2,B1:B30)
etc etc

Vaya con Dios,
Chuck, cABGx3


" wrote:

Dear Excel Users,

My problem is following. I have one table with 2 columns and 30 rows.
In the right column the user can choose in a drop down list 1 of 5
ledgers (Accounting) for each row. In the left column I have dollar
values.
Now, filling in the rows 1 to 30 the ledgers (right column) chosen will
repeat themselves.
At the bottom I would like to have 5 independent cells showing a the
sum for one of the five accounts.

Example:

ledger number 1

row 1 5$
row 5 10 $
row 15 10 $

The sum cell one should sum all dollar values for ledger number 1 which
has entries in row 1,5 and 15. So the formula needs to go into each of
these rows and selects the left one of the colums in order read out the
dollar values and total them which is here 25$.

Same for ledger number 2 to 5 in different sum cells.

Anyone any idea how this works.


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
Are there functions that perform robust statistics in Excel? froot_broot Excel Worksheet Functions 0 August 30th 05 10:18 PM
How can I use engineering functions in Excel 2003 kolgen Excel Discussion (Misc queries) 1 April 14th 05 01:35 PM
Howto use excel cell value to lookup an oracle table Andre Excel Discussion (Misc queries) 0 April 5th 05 09:44 AM
how to update functions in excel sheet? Inass Excel Worksheet Functions 1 February 22nd 05 05:14 PM
lookup multiple occurrences of a value excel ckl Excel Worksheet Functions 5 February 3rd 05 05:19 AM


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