LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default Formula for Duplicating Rows!!

You can use a formula like this in an additional column (starting in C2, for
example):
=IF(A2<"",A2,IF(B2<"",C1,""))
If column A has a value, it will be return that; if there is value, and the
column B is not empty, it will return the value just over it on its own
column, that it will be the repeated value expected. If both columns are
blank, it will return blank.
You can later copy/paste values from this column to the original one.

Hope this helps,
Miguel.

"GOL" wrote:

I have an Excel worksheet with a few thousand rows. The first 2 columns look
as seen below. I need the Account # of every customer to be on every row.
As of now, the Account # is only on the First row and the rest of rows blank.
What type of formula can I create to replace the blank rows after the
account # with the account # that corresponds to customer. See below for
complete description.

Currently is:

Account Customer

P0182202 Bearid
Bearid
Bearid
Bearid

P38451US 360 OHIO DOT
360 OHIO DOT

P37544US 3DS BRIDGE PAINTING CORP. 3DS BRIDGE PAINTING CORP.

P01471US 4 D CORROSION

Should Be:

Account Customer

P0182202 Bearid
P0182202 Bearid
P0182202 Bearid
P0182202 Bearid

P38451US 360 OHIO DOT
P38451US 360 OHIO DOT

P37544US 3DS BRIDGE PAINTING CORP.
P37544US 3DS BRIDGE PAINTING CORP.

P01471US 4 D CORROSION

 
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
Getting all rows of data that have a value in a particular column Rikki-Handgards Excel Discussion (Misc queries) 30 December 10th 07 12:29 PM
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Formula to change rows a different colour? John Excel Worksheet Functions 2 August 10th 05 11:56 PM
Insert rows, keep a formula? tb Excel Worksheet Functions 1 April 23rd 05 03:41 PM


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