Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default identify first occurnce of text in column

See example below...

COL A COL B

document1 30
document1 45
document2 15
document1 33
document3 55
<blank 32
document2 2
document1 42
document2 9
document3 44
etc...

I want a total for each document in a separate table, either on this same
sheet or on a separate summary worksheet. E.g.:

document1 total = 150
document2 total = 26
document3 total = 99
<balnk total = 32

The kicker is that I don't want to specifically name the documents to
search, I want Excel to figure out the document names by searching down COL A
to the last occurance of information (may have to search COL B to find last
occurnace of information) and indicating what document names exist. Thus,
Excel would find document1 and place it and its total in a table, then find
document2 and place it in the row beneath document1 total in the table, etc.
If a routine must be developed, I would rther it be a Function than a
Procedure so it works dynamically.

--
Regards,

DJ Huff, PhD, PMP, CISA, ITIL
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default identify first occurnce of text in column

Use a Pivot Table. See:

http://peltiertech.com/Excel/Pivots/pivotstart.htm
--
Gary''s Student - gsnu200846


"DJ Huff" wrote:

See example below...

COL A COL B

document1 30
document1 45
document2 15
document1 33
document3 55
<blank 32
document2 2
document1 42
document2 9
document3 44
etc...

I want a total for each document in a separate table, either on this same
sheet or on a separate summary worksheet. E.g.:

document1 total = 150
document2 total = 26
document3 total = 99
<balnk total = 32

The kicker is that I don't want to specifically name the documents to
search, I want Excel to figure out the document names by searching down COL A
to the last occurance of information (may have to search COL B to find last
occurnace of information) and indicating what document names exist. Thus,
Excel would find document1 and place it and its total in a table, then find
document2 and place it in the row beneath document1 total in the table, etc.
If a routine must be developed, I would rther it be a Function than a
Procedure so it works dynamically.

--
Regards,

DJ Huff, PhD, PMP, CISA, ITIL

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default identify first occurnce of text in column

Thanks, but I want the table to reflect immediate changes, such as if I add a
document name where it was previously <blank, yet with a $ amount. I did
create a pivot table and it showed me item counts rather than total $ amounts
for the document. I'll play more with pivot tables, but my first pass was
not impressive.
--
Regards,

DJ Huff, PhD, PMP, CISA, ITIL


"Gary''s Student" wrote:

Use a Pivot Table. See:

http://peltiertech.com/Excel/Pivots/pivotstart.htm
--
Gary''s Student - gsnu200846


"DJ Huff" wrote:

See example below...

COL A COL B

document1 30
document1 45
document2 15
document1 33
document3 55
<blank 32
document2 2
document1 42
document2 9
document3 44
etc...

I want a total for each document in a separate table, either on this same
sheet or on a separate summary worksheet. E.g.:

document1 total = 150
document2 total = 26
document3 total = 99
<balnk total = 32

The kicker is that I don't want to specifically name the documents to
search, I want Excel to figure out the document names by searching down COL A
to the last occurance of information (may have to search COL B to find last
occurnace of information) and indicating what document names exist. Thus,
Excel would find document1 and place it and its total in a table, then find
document2 and place it in the row beneath document1 total in the table, etc.
If a routine must be developed, I would rther it be a Function than a
Procedure so it works dynamically.

--
Regards,

DJ Huff, PhD, PMP, CISA, ITIL

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default identify first occurnce of text in column

I changed it to reflect $ amounts and that is fine...I just need it to
dynamically change rather than having to manually refresh it. How can I
automatically refresh this when an update to a row within the pivot table is
updated?
--
Regards,

DJ Huff, PhD, PMP, CISA, ITIL


"Gary''s Student" wrote:

Use a Pivot Table. See:

http://peltiertech.com/Excel/Pivots/pivotstart.htm
--
Gary''s Student - gsnu200846


"DJ Huff" wrote:

See example below...

COL A COL B

document1 30
document1 45
document2 15
document1 33
document3 55
<blank 32
document2 2
document1 42
document2 9
document3 44
etc...

I want a total for each document in a separate table, either on this same
sheet or on a separate summary worksheet. E.g.:

document1 total = 150
document2 total = 26
document3 total = 99
<balnk total = 32

The kicker is that I don't want to specifically name the documents to
search, I want Excel to figure out the document names by searching down COL A
to the last occurance of information (may have to search COL B to find last
occurnace of information) and indicating what document names exist. Thus,
Excel would find document1 and place it and its total in a table, then find
document2 and place it in the row beneath document1 total in the table, etc.
If a routine must be developed, I would rther it be a Function than a
Procedure so it works dynamically.

--
Regards,

DJ Huff, PhD, PMP, CISA, ITIL

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
Identify last non-empty column in a table John Excel Discussion (Misc queries) 7 October 19th 08 07:42 AM
Identify Text on two cells Jerry (the latin men) Excel Discussion (Misc queries) 1 August 1st 08 05:27 PM
Identify the row in which a MAX number in a column resides BarDoomed Excel Worksheet Functions 7 June 5th 08 09:23 PM
search column of text cellto identify those cells with specific w Ross Headifen Excel Worksheet Functions 1 July 8th 06 03:49 PM
Identify text in uppercase David Excel Worksheet Functions 8 May 4th 05 12:55 AM


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