Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Not Excelling
 
Posts: n/a
Default Copying Part of a row down part of a column

Hi,

My problem is this. I have a specific row of data that I need to
copy part of down a column, until the next row of data.

The data is in a format 12345 abcd efgh ijkl

I only need to copy the numeric portion (12345) down the column, until
the next row I need to copy (same format) shows up. What's the
best/quickest way to do this. It's like an =IF function, but I'm not
sure of the syntax.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster
 
Posts: n/a
Default Copying Part of a row down part of a column


Try this:
assuming your column A is the column with your data with blank rows in
between and column B is where you want the results then.

=IF(A2<"",LEFT(A2,FIND(" ",A2)-1),B1)
start this formula in the same row as your first bit of data and copy
down.

HTH
JG


--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile: http://www.excelforum.com/member.php...fo&userid=6261
View this thread: http://www.excelforum.com/showthread...hreadid=498874

  #3   Report Post  
Posted to microsoft.public.excel.misc
Kleev
 
Posts: n/a
Default Copying Part of a row down part of a column

This is copied from someone else's post (from quite a while ago.) I don't
have their name so I can't give proper credit:

Select column A. Hit F5. Click on Special. Click on Blanks, then OK.
Type = and then hit Up Arrow. Hold Control Key and hit Enter.


"Not Excelling" wrote:

Hi,

My problem is this. I have a specific row of data that I need to
copy part of down a column, until the next row of data.

The data is in a format 12345 abcd efgh ijkl

I only need to copy the numeric portion (12345) down the column, until
the next row I need to copy (same format) shows up. What's the
best/quickest way to do this. It's like an =IF function, but I'm not
sure of the syntax.

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.misc
Not Excelling
 
Posts: n/a
Default Copying Part of a row down part of a column

Thanks to everyone who responded. What I found that works is using the
=MID function. This did exactly what I needed.

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
Arithmetical Mode of Criteria in Multiple Non-Adjacent columns Sam via OfficeKB.com Excel Worksheet Functions 4 July 14th 05 09:15 PM
match and count words David Excel Worksheet Functions 5 July 4th 05 02:24 AM
How to group similar column titles together???? vrk1 Excel Discussion (Misc queries) 2 April 30th 05 12:17 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM
Searching a column and copying rows davidshin Excel Worksheet Functions 1 November 10th 04 07:29 PM


All times are GMT +1. The time now is 07:05 AM.

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"