Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default extracting info related to maching entries

I have a table with various fields of information in each cell.
one column has a list of names, these are repeated randomly throughout the
column.
i want to creat a chart from information relating to each name. So I need to
search through the list and wherever the name entry equals for example, aaa
in column b, i need the related info for each maching name from column A.

So if i have:
1 aaa
2 bbb
3 ccc
4 aaa
5 aaa
6 ccc

I need to use values 1, 4 and 5 relating to aaa only to for example,
calculate an average for aaa.




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default extracting info related to maching entries

Select B1:b20 and in the formula bar enter

=IF(ISERROR(SMALL(IF(A1:A20="aaa",ROW($A1:$A20),"" ),ROW($A1:$A20))),"",SMALL
(IF(A1:A20="aaa",ROW($A1:$A20),""),ROW($A1:$A20)))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"CraigSA" wrote in message
...
I have a table with various fields of information in each cell.
one column has a list of names, these are repeated randomly throughout the
column.
i want to creat a chart from information relating to each name. So I need

to
search through the list and wherever the name entry equals for example,

aaa
in column b, i need the related info for each maching name from column A.

So if i have:
1 aaa
2 bbb
3 ccc
4 aaa
5 aaa
6 ccc

I need to use values 1, 4 and 5 relating to aaa only to for example,
calculate an average for aaa.






  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default extracting info related to maching entries

Ok that wasn't too difficult but now how would i be able to create a chart
for a specific name to show each related value.
I don't know of any way to do this directly in the charting function so
would i have to first create a new table with only the values relating to
each name?

like
1 aaa
4 aaa
5 aaa
to make the chart from these.

how do you create a new table like this from taking random distributed
entries in the origional table. its easy to extract the info to do a
calculation in one cell but how would i list the values in a new location?

"CraigSA" wrote:

I have a table with various fields of information in each cell.
one column has a list of names, these are repeated randomly throughout the
column.
i want to creat a chart from information relating to each name. So I need to
search through the list and wherever the name entry equals for example, aaa
in column b, i need the related info for each maching name from column A.

So if i have:
1 aaa
2 bbb
3 ccc
4 aaa
5 aaa
6 ccc

I need to use values 1, 4 and 5 relating to aaa only to for example,
calculate an average for aaa.




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
Writing Macro for extracting info from other softwares Skywalker Excel Discussion (Misc queries) 4 October 15th 05 05:51 PM
Writing Macro for extracting info from other softwares Skywalker Excel Discussion (Misc queries) 0 October 15th 05 04:02 AM
Writing Macro for extracting info from other softwares Skywalker Excel Discussion (Misc queries) 0 October 15th 05 03:29 AM
Extracting info from word and displaying in an excel spreadsheet Drew Excel Discussion (Misc queries) 0 March 7th 05 03:49 AM
extracting contact info to a database gordie Excel Discussion (Misc queries) 1 January 15th 05 02:50 PM


All times are GMT +1. The time now is 10:31 AM.

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"