#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kilianli
 
Posts: n/a
Default Combine Show


I have make the record as the following
if the acc no. same, then i use"-" instead of the same payee and not
input the total amount, until the last one. then i would like to know
how can i have the reust just have the filed Acc no. , Payee and total
amount
"5687 WW $400"

-input fomat::
Acc no. Payee Dept Amount Total Amout
152 ABC HR $100.00 $100.00
124 AA Account $500.00 $500.00
5687 WW Admin $100.00 -
5687 - IT $100.00 -
5687 - HR $200.00 $400.00
4153 ABC IT $500.00 $500.00


--
kilianli
------------------------------------------------------------------------
kilianli's Profile: http://www.excelforum.com/member.php...o&userid=32328
View this thread: http://www.excelforum.com/showthread...hreadid=521294

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Combine Show

Here's a play using non-array formulas to auto-extract
the required results into cols adjacent to the source table

A sample construct is available at:
http://savefile.com/files/7237432
Auto-Extract Unique Acc Summary n Payee - Amt.xls

Assume source table in cols A to E, data from row2 down

We'll use adjacent cols G to J

Put labels into H1:J1 : Acc no., Payee, Total Amount

In G2: =IF(A2="","",IF(COUNTIF($A$2:A2,A2)1,"",ROW()))

In H2:
=IF(ISERROR(SMALL($G:$G,ROW(A1))),"",
INDEX(A:A,MATCH(SMALL($G:$G,ROW(A1)),$G:$G,0)))
Copy H2 to I2

In J2: =IF(H2="","",SUMIF(A:A,H2,D:D))

Select G2:J2, copy down to say, J10
to cover the max expected extent of data in col A

Cols H to J will return the desired results,
all neatly bunched at the top, viz.:

Acc no. Payee Total Amount
152 ABC $100.00
124 AA $500.00
5687 WW $400.00
4153 ABC $500.00

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"kilianli" wrote in
message ...

I have make the record as the following
if the acc no. same, then i use"-" instead of the same payee and not
input the total amount, until the last one. then i would like to know
how can i have the reust just have the filed Acc no. , Payee and total
amount
"5687 WW $400"

-input fomat::
Acc no. Payee Dept Amount Total Amout
152 ABC HR $100.00 $100.00
124 AA Account $500.00 $500.00
5687 WW Admin $100.00 -
5687 - IT $100.00 -
5687 - HR $200.00 $400.00
4153 ABC IT $500.00 $500.00


--
kilianli
------------------------------------------------------------------------
kilianli's Profile:

http://www.excelforum.com/member.php...o&userid=32328
View this thread: http://www.excelforum.com/showthread...hreadid=521294



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kilianli
 
Posts: n/a
Default Combine Show


Thank you for your help
but i don't understand how to write......
suppose i need to make the record again and again, is that i just copy
the cell in the following row??
i'm the new user in excel, so i don't know how to do...pls help

Max Wrote:
Here's a play using non-array formulas to auto-extract
the required results into cols adjacent to the source table

A sample construct is available at:
http://savefile.com/files/7237432
Auto-Extract Unique Acc Summary n Payee - Amt.xls

Assume source table in cols A to E, data from row2 down

We'll use adjacent cols G to J

Put labels into H1:J1 : Acc no., Payee, Total Amount

In G2: =IF(A2="","",IF(COUNTIF($A$2:A2,A2)1,"",ROW()))

In H2:
=IF(ISERROR(SMALL($G:$G,ROW(A1))),"",
INDEX(A:A,MATCH(SMALL($G:$G,ROW(A1)),$G:$G,0)))
Copy H2 to I2

In J2: =IF(H2="","",SUMIF(A:A,H2,D:D))

Select G2:J2, copy down to say, J10
to cover the max expected extent of data in col A

Cols H to J will return the desired results,
all neatly bunched at the top, viz.:

Acc no. Payee Total Amount
152 ABC $100.00
124 AA $500.00
5687 WW $400.00
4153 ABC $500.00

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"kilianli"
wrote in
message ...

I have make the record as the following
if the acc no. same, then i use"-" instead of the same payee and not
input the total amount, until the last one. then i would like to

know
how can i have the reust just have the filed Acc no. , Payee and

total
amount
"5687 WW $400"

-input fomat::
Acc no. Payee Dept Amount Total Amout
152 ABC HR $100.00 $100.00
124 AA Account $500.00 $500.00
5687 WW Admin $100.00 -
5687 - IT $100.00 -
5687 - HR $200.00 $400.00
4153 ABC IT $500.00 $500.00


--
kilianli

------------------------------------------------------------------------
kilianli's Profile:

http://www.excelforum.com/member.php...o&userid=32328
View this thread:

http://www.excelforum.com/showthread...hreadid=521294



--
kilianli
------------------------------------------------------------------------
kilianli's Profile: http://www.excelforum.com/member.php...o&userid=32328
View this thread: http://www.excelforum.com/showthread...hreadid=521294

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Combine Show

"kilianli" wrote:
Thank you for your help
but i don't understand how to write......
suppose i need to make the record again and again,
is that i just copy the cell in the following row??


If you're referring to this part of the set-up steps
Select G2:J2, copy down to say, J10
to cover the max expected extent of data in col A


With the formulas in G2:J2,
just copy down as far as required
to cover what you have in col A

You can actually copy beyond the last row of data in col A
if you think that the data may extend further in future

Download and see the sample file provided earlier,
it shows the implemented construct ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


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
Show data used and percent label Desiree Charts and Charting in Excel 2 October 18th 05 04:34 PM
leading zeros are not showing in the formula bar but do show in ce Debbie Excel Discussion (Misc queries) 2 October 2nd 05 03:26 PM
combine row and the delete duplicates bamamike Excel Discussion (Misc queries) 2 September 20th 05 04:16 PM
Show values from other sheet TONY Excel Worksheet Functions 0 August 31st 05 03:03 PM
with formulas that show negative results I want to show zero inste brit64 Excel Discussion (Misc queries) 6 August 29th 05 11:12 PM


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

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"