Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sequential text and numbers problem

I need a formula that will help me generate a sequential list. My values are
as follows note that the "+" is strictly text and has no mathematical
significance): 0+83, 0+88, 0+93, 0+98, 1+03, 1+08, 1+13, .... The number
before and after the "+" change per each report but the number after the "+"
always increases by 5. The number before the "+" increases by 1 once the
numbers after the "+" exceed 100 (so that there are only ever 2 space values
after the "+").

Someone please help as I have to generate hundreds of these reports.

FYI the numbers reference a station on a CAD drawing and I will later be
inputting voltage potential data in the cells adjacent the stations so that
the report will show a location corresponding to a potential.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default sequential text and numbers problem

enter:

=IF(ROW(A73)+4*(ROW(A1)-1)100,1,0) & "+" & RIGHT(ROW(A73)+4*(ROW(A1)-1),2)


and copy down.
--
Gary''s Student - gsnu200909


"patrickmcdiver" wrote:

I need a formula that will help me generate a sequential list. My values are
as follows note that the "+" is strictly text and has no mathematical
significance): 0+83, 0+88, 0+93, 0+98, 1+03, 1+08, 1+13, .... The number
before and after the "+" change per each report but the number after the "+"
always increases by 5. The number before the "+" increases by 1 once the
numbers after the "+" exceed 100 (so that there are only ever 2 space values
after the "+").

Someone please help as I have to generate hundreds of these reports.

FYI the numbers reference a station on a CAD drawing and I will later be
inputting voltage potential data in the cells adjacent the stations so that
the report will show a location corresponding to a potential.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default sequential text and numbers problem

If the list is required in a column the following is a suggestion, where x is
the starting row number -1 (so if list starts in row 5 x=4). Works
independandantly of which column the list is in.

=IF(INT((((ROW()-x)*5)+3)/100)=0,"",INT((((ROW()-x)*5)+3)/100))&"+"&IF(LEN(MOD(((ROW()-x)*5)+3,100))=1,"0"&MOD(((ROW()-x)*5)+3,100),MOD(((ROW()-x)*5)+3,100))

There is probably a neater way, but appears to work...
--

Kind regards

Rik


"patrickmcdiver" wrote:

I need a formula that will help me generate a sequential list. My values are
as follows note that the "+" is strictly text and has no mathematical
significance): 0+83, 0+88, 0+93, 0+98, 1+03, 1+08, 1+13, .... The number
before and after the "+" change per each report but the number after the "+"
always increases by 5. The number before the "+" increases by 1 once the
numbers after the "+" exceed 100 (so that there are only ever 2 space values
after the "+").

Someone please help as I have to generate hundreds of these reports.

FYI the numbers reference a station on a CAD drawing and I will later be
inputting voltage potential data in the cells adjacent the stations so that
the report will show a location corresponding to a potential.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default sequential text and numbers problem

Ooops didn't realise significance of 0 for items less than 100, makes it less
complex though...

=INT((((ROW()-x)*5)+3)/100)&"+"&RIGHT(MOD(((ROW()-x)*5)+3,100)+100,2)

--

Kind regards

Rik


"RikNeedsHelp" wrote:

If the list is required in a column the following is a suggestion, where x is
the starting row number -1 (so if list starts in row 5 x=4). Works
independandantly of which column the list is in.

=IF(INT((((ROW()-x)*5)+3)/100)=0,"",INT((((ROW()-x)*5)+3)/100))&"+"&IF(LEN(MOD(((ROW()-x)*5)+3,100))=1,"0"&MOD(((ROW()-x)*5)+3,100),MOD(((ROW()-x)*5)+3,100))

There is probably a neater way, but appears to work...
--

Kind regards

Rik


"patrickmcdiver" wrote:

I need a formula that will help me generate a sequential list. My values are
as follows note that the "+" is strictly text and has no mathematical
significance): 0+83, 0+88, 0+93, 0+98, 1+03, 1+08, 1+13, .... The number
before and after the "+" change per each report but the number after the "+"
always increases by 5. The number before the "+" increases by 1 once the
numbers after the "+" exceed 100 (so that there are only ever 2 space values
after the "+").

Someone please help as I have to generate hundreds of these reports.

FYI the numbers reference a station on a CAD drawing and I will later be
inputting voltage potential data in the cells adjacent the stations so that
the report will show a location corresponding to a potential.

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
sequential text and numbers problem patrickmcdiver Excel Discussion (Misc queries) 2 December 15th 09 08:24 PM
Sequential Numbers LiAD Excel Discussion (Misc queries) 5 January 8th 09 03:39 PM
Sequential Numbers abcdexcel Excel Discussion (Misc queries) 3 January 18th 06 11:06 AM
sequential numbers Harley Excel Worksheet Functions 1 January 12th 06 09:57 PM
sequential numbers AndrewRichardWood Excel Discussion (Misc queries) 2 July 20th 05 05:00 PM


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