Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Add data to a column based on other column data

This is what I currently have:

Number Date_tested
5090002 1-Feb-01
5090002 1-May-01
5090002 15-Apr-03
5090034 1-Sep-00
5090034 15-May-01
5090034 15-Apr-03

I need to add the text "Test-1" "Test-2" etc based on the number in the
first column, in other words, when the number in the first column
changes I need the added text to start over at "Test-1"

Number Date_tested Test Number
5090002 1-Feb-01 Test-1
5090002 1-May-01 Test-2
5090002 15-Apr-03 Test-3
5090034 1-Sep-00 Test-1
5090034 15-May-01 Test-2
5090034 15-Apr-03 Test-3

Any ideas?

Thanks!!!
Fred

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Add data to a column based on other column data


Fred wrote:
This is what I currently have:

Number Date_tested
5090002 1-Feb-01
5090002 1-May-01
5090002 15-Apr-03
5090034 1-Sep-00
5090034 15-May-01
5090034 15-Apr-03

I need to add the text "Test-1" "Test-2" etc based on the number in the
first column, in other words, when the number in the first column
changes I need the added text to start over at "Test-1"

Number Date_tested Test Number
5090002 1-Feb-01 Test-1
5090002 1-May-01 Test-2
5090002 15-Apr-03 Test-3
5090034 1-Sep-00 Test-1
5090034 15-May-01 Test-2
5090034 15-Apr-03 Test-3

Any ideas?

Thanks!!!
Fred


To claify... there will be different number of tests, so some will have
Test-1 to Test-3 some will have Test-1 to Test-4.... or Test-1 - Test-6

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
Adding digits in a column based on data in a separate column adriver Excel Discussion (Misc queries) 4 April 21st 10 12:41 AM
Adding column data based on match in 2nd column - Help GBExcel via OfficeKB.com Excel Worksheet Functions 3 January 26th 10 05:58 PM
Based on data in previous column - sum of values in next column Beena K Excel Worksheet Functions 1 April 7th 09 07:23 PM
making a new column based on data in an existing column newyorkjoy Excel Discussion (Misc queries) 4 August 2nd 07 02:42 AM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM


All times are GMT +1. The time now is 11:48 AM.

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"