LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Max
 
Posts: n/a
Default

The caveats on the data regularity were there as stated for the suggestions
to work. (Never said I had a solution otherwise)

Here's what I did in your sample (File returned to you)

Inserted a new col A
Placed in the "new" A1: =IF(C1="Cost Center:",E1+0,"")
Copied down to A11986 (the last data row)

Col A pulled in the 4 digit numbers from col E
where the marker phrase: "Cost Center:" appeared in col C

Killed the formulas in col A
(via an in-place copy paste special values ok)

Inserted a new row1
Typed a label into A1
Did a Data Filter Autofilter on col A
Selected (Blanks) from the droplist in A1
Selected the filtered range A3:A11987 (blue row headers)
Right-clicked on the selection Clear Contents
Removed the autofilter

Raided Debra's page on: Excel -- Data Entry -- Fill Blank Cells
at: http://www.contextures.com/xlDataEntry02.html

Under the section "Fill Blank Cells Programmatically"
(scroll down a bit in the page)
Copied and implemented Dave Peterson's
Sub FillColBlanks() into the book

Selected A2:A11987
Ran Dave's Sub FillColBlanks() on the selected range

(Think that's it. I'm out of ideas)
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"ecohen1" wrote in
message ...

Thanks you so much for your help, and again for your file, but again it
doesn't work for me. I don't have exactly 20 rows for each center, I
could have 20 for one cost center and 50 for example for the next one.

I'm sending you the excel file by Email, you gona see excatly the
sheet.

Thanks again, I really appreciate your help.


--
ecohen1
------------------------------------------------------------------------
ecohen1's Profile:

http://www.excelforum.com/member.php...o&userid=12988
View this thread: http://www.excelforum.com/showthread...hreadid=388070



 
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
Is Indexing the right option? Shaun Martin Excel Worksheet Functions 4 May 17th 05 09:16 AM
Indexing an Array with VLOOKUP Joe Blow Excel Worksheet Functions 1 March 14th 05 09:23 PM
Indexing, matching and vlookups? inthestands Excel Worksheet Functions 2 February 1st 05 03:21 PM
Vlookup and Indexing in excel CLSCHWIES Excel Worksheet Functions 2 December 4th 04 01:57 AM
Vlookup - indexing Josef.angel Excel Worksheet Functions 7 October 29th 04 08:50 AM


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