Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Overriding zero-strings with previous line constant

In my Col-A I have the below formula copied down 10,000 rows
I get either 1-1234 or "" (zero-strings) as a result.

I want to repeat the occasional change in the numbers 1-1234 (row 10)
and 1-2222 (Row1200) to OVERRIDE the zero-strings. How can this be done

I thought of using Special Cells Blank - but such of course doesn't work to
select the zero-strings as they ARE NOT BLank.

Any help appreciated on this..


=IF(MID(C12,2,1)="-",C12,"")

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Overriding zero-strings with previous line constant

Maybe...

=IF(MID(C12,2,1)="-",C12,c11)

You may have to use a different formula in the top cell--just to "prime the
pump".

Jim May wrote:

In my Col-A I have the below formula copied down 10,000 rows
I get either 1-1234 or "" (zero-strings) as a result.

I want to repeat the occasional change in the numbers 1-1234 (row 10)
and 1-2222 (Row1200) to OVERRIDE the zero-strings. How can this be done

I thought of using Special Cells Blank - but such of course doesn't work to
select the zero-strings as they ARE NOT BLank.

Any help appreciated on this..

=IF(MID(C12,2,1)="-",C12,"")


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 477
Default Overriding zero-strings with previous line constant

Thanks Dave for the "Wake-Up" Call;
Got it going..
Jim

"Dave Peterson" wrote:

Maybe...

=IF(MID(C12,2,1)="-",C12,c11)

You may have to use a different formula in the top cell--just to "prime the
pump".

Jim May wrote:

In my Col-A I have the below formula copied down 10,000 rows
I get either 1-1234 or "" (zero-strings) as a result.

I want to repeat the occasional change in the numbers 1-1234 (row 10)
and 1-2222 (Row1200) to OVERRIDE the zero-strings. How can this be done

I thought of using Special Cells Blank - but such of course doesn't work to
select the zero-strings as they ARE NOT BLank.

Any help appreciated on this..

=IF(MID(C12,2,1)="-",C12,"")


--

Dave Peterson

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
New Conditional Format Overriding Previous Conditional Format Rene Excel Discussion (Misc queries) 3 February 27th 08 06:08 PM
remove line breaks in text strings Capn Swing New Users to Excel 1 January 2nd 07 04:54 PM
Extracting Constant from Non-linear Trend line tomsan82 Charts and Charting in Excel 1 June 16th 06 12:53 PM
how do I plot a constant value in a line graph? Debby Blaine Charts and Charting in Excel 2 April 11th 06 09:08 AM
How do I start new line when concatenating text strings in excel? Max Excel Discussion (Misc queries) 2 January 26th 06 05:48 PM


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