Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
JT
 
Posts: n/a
Default How do I compare similar rows of data in same worksheet

I have a worksheet that could have mulitple rows of data for an individual I
need to combine to onerow based on status.

Example:
1 Name AK AL AR CA
2 MSMITH 0 DIST M 1
3 MSMITH 1 0 0 1

If MSMITH has a "1" in either row pull this into row 2, if not = 1 pull "0",
"M",or "DIST" into row 2. What would be the formaula to have Excel look at
the name column see if there is multiple matches for thename row and then
look at status of the AK, AL, AR, CA, ... columns ?

  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

If you can replace the M and DIST with some numeric code, perhaps you could
use a Pivot Table for this.

On Sat, 19 Feb 2005 08:11:05 -0800, "JT" wrote:

I have a worksheet that could have mulitple rows of data for an individual I
need to combine to onerow based on status.

Example:
1 Name AK AL AR CA
2 MSMITH 0 DIST M 1
3 MSMITH 1 0 0 1

If MSMITH has a "1" in either row pull this into row 2, if not = 1 pull "0",
"M",or "DIST" into row 2. What would be the formaula to have Excel look at
the name column see if there is multiple matches for thename row and then
look at status of the AK, AL, AR, CA, ... columns ?


  #3   Report Post  
JT
 
Posts: n/a
Default

Myrna do you have an example ? If I replace the "M" or "Dist" or any other
alpha showing ? How will it pull into a pivot table without counting or
summing the information ? I am pretty new at Pivot Tables. Thank you

"Myrna Larson" wrote:

If you can replace the M and DIST with some numeric code, perhaps you could
use a Pivot Table for this.

On Sat, 19 Feb 2005 08:11:05 -0800, "JT" wrote:

I have a worksheet that could have mulitple rows of data for an individual I
need to combine to onerow based on status.

Example:
1 Name AK AL AR CA
2 MSMITH 0 DIST M 1
3 MSMITH 1 0 0 1

If MSMITH has a "1" in either row pull this into row 2, if not = 1 pull "0",
"M",or "DIST" into row 2. What would be the formaula to have Excel look at
the name column see if there is multiple matches for thename row and then
look at status of the AK, AL, AR, CA, ... columns ?



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
Comparing data in two similar worksheets HiRllr21 Excel Discussion (Misc queries) 0 February 2nd 05 05:01 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Multiple rows of data on a single axis (charting) ramseysgirl Charts and Charting in Excel 8 December 29th 04 06:00 PM
Data Table - does it work with DDE links and Stock Tickers? Post Tenebras Lux Excel Worksheet Functions 0 December 1st 04 05:17 PM
Data Table - Does it work with DDE links and stock tickers? Post Tenebras Lux Excel Discussion (Misc queries) 0 December 1st 04 05:15 PM


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