Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Copying down row to the next occurence in a different row.

Hi,

I've got a stack of data related to sales copied from an external source and
pasted into Excel.


The data is structured so that row 1 contains the name of a branch merged
acoss the columns, then rows 2 to X have sales data across various columns.
Then follows another row with a branch name. Each branch has a different
number of rows beneath it.

I've created a new column at Column A. I want this to be the branch name so
that I can filter and perform calculations. Luckily all the data in column B
starts with the word "sales", except those rows with a branch name. I'm
trying to figure a way to look at column B, and copy down Column A all the
way to the next occurrance of a branch name in B.

I hope this makes sense, any help appreciated.

--
Rich
http://www.richdavies.com/fantasy-football.htm

** Posted from http://www.teranews.com **
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default Copying down row to the next occurence in a different row.

Under the first branch name (let's assume this is A1), write the formula =A1.
Copy the formula then highlight your data range for column A, go Edit: Go
To: Special: Blanks. Paste your formula, which should copy all of your
branch names.
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Rich" wrote:

Hi,

I've got a stack of data related to sales copied from an external source and
pasted into Excel.


The data is structured so that row 1 contains the name of a branch merged
acoss the columns, then rows 2 to X have sales data across various columns.
Then follows another row with a branch name. Each branch has a different
number of rows beneath it.

I've created a new column at Column A. I want this to be the branch name so
that I can filter and perform calculations. Luckily all the data in column B
starts with the word "sales", except those rows with a branch name. I'm
trying to figure a way to look at column B, and copy down Column A all the
way to the next occurrance of a branch name in B.

I hope this makes sense, any help appreciated.

--
Rich
http://www.richdavies.com/fantasy-football.htm

** Posted from http://www.teranews.com **

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
next occurence Zab Excel Worksheet Functions 0 February 26th 08 06:49 PM
Frequency of occurence R Weeden Excel Worksheet Functions 1 June 16th 06 05:40 PM
Occurence #'s Seveneleven Excel Discussion (Misc queries) 6 February 7th 06 07:38 PM
get 2nd occurence value TUNGANA KURMA RAJU Excel Discussion (Misc queries) 2 October 1st 05 08:00 AM
Frequency of occurence Danny J Excel Worksheet Functions 1 March 9th 05 12:14 AM


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