#1   Report Post  
Junior Member
 
Posts: 2
Default Number values

Hello experts,

i have a huge database of entries from a survey generated from google forms into excel. long story short i have various pivot tables and iferror(vlookup) functions. but i am doing something manually and i wonder if you can help me.

i would like to assign a number value from 1-30 for each name, always resetting to 1 at a new name. this database is pertperually growing, so names are not always in the same row day after day.

this is what i need a formula for:

john smith 1
john smith 2
john smith 3
mike ward 1
mike ward 2
jane doe 1
jane doe 2
jane doe 3
jane doe 4
jane doe 5
Bill Pull 1

etc

thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Number values

Hi,

Am Wed, 11 Nov 2015 16:32:58 +0000 schrieb CP514:

i would like to assign a number value from 1-30 for each name, always
resetting to 1 at a new name. this database is pertperually growing, so
names are not always in the same row day after day.


your names in column A.
Try in B1:
=A1&" "&COUNTIF($A$1:A1,A1)
and copy down.


Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
  #3   Report Post  
Member
 
Posts: 93
Default

Hi

Assuming the data is in A1:A11.

In B1 and copy down: =COUNTIF(A$1:A1,A1)
  #4   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by Kevin@Radstock View Post
Hi

Assuming the data is in A1:A11.

In B1 and copy down: =COUNTIF(A$1:A1,A1)

Worked perfectly thank you!
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
Inserting a number of rows based on the number of columns filled bytext values zorakramone Excel Programming 4 August 3rd 09 08:21 AM
number values milgo Excel Discussion (Misc queries) 1 October 9th 08 07:41 PM
Values from website turned into useable number values Erik Todd Excel Worksheet Functions 3 April 28th 06 11:51 PM
is number between values chuckwagon2031 Excel Worksheet Functions 2 April 3rd 06 06:47 AM
Number of labels on X-axis one more than number of values on Y-axi Gudrun Charts and Charting in Excel 5 August 26th 05 01:55 PM


All times are GMT +1. The time now is 01:12 PM.

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"