Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default counting Row() digits?

Hi all

In the Calculation below

=IF(RIGHT(B108,10)="Receipt"&" "&ROW()-1

how can I turn the 10 into 11 when the row() goes from 99 to 100
and also 11 into 12 when the row() goes 999 to 1000
etc
etc

Thanks

Stewart
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default counting Row() digits?

Try this:

8+LEN(ROW())

Hope ths helps.

Pete

On Jan 16, 1:45*pm, stew wrote:
Hi all

In the Calculation below

=IF(RIGHT(B108,10)="Receipt"&" "&ROW()-1

how can I turn the 10 *into 11 when the row() goes from 99 to 100
and also * * * * * * * *11 into 12 when the row() goes 999 to 1000
etc
etc

Thanks

Stewart


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default counting Row() digits?

Thanks Pete

Does the Job

Stewart

"Pete_UK" wrote:

Try this:

8+LEN(ROW())

Hope ths helps.

Pete

On Jan 16, 1:45 pm, stew wrote:
Hi all

In the Calculation below

=IF(RIGHT(B108,10)="Receipt"&" "&ROW()-1

how can I turn the 10 into 11 when the row() goes from 99 to 100
and also 11 into 12 when the row() goes 999 to 1000
etc
etc

Thanks

Stewart



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default counting Row() digits?

You're welcome, Stewart - thanks for feeding back.

Pete

On Jan 16, 3:19*pm, stew wrote:
Thanks Pete

Does the Job

Stewart


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
counting function but not double counting duplicates JRD Excel Worksheet Functions 2 November 7th 07 06:43 PM
How to customize number to 10 digits including 2 digits after deci Carina Excel Worksheet Functions 3 September 20th 07 02:50 AM
counting digits, not numbers nebb Excel Worksheet Functions 4 January 24th 06 04:10 PM
Counting Starting Digits Qban Excel Worksheet Functions 1 December 11th 05 04:04 PM
Counting indvidual digits James Excel Discussion (Misc queries) 2 April 28th 05 05:12 PM


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