Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default Copy value from cell above

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another unique ID
number.

I need the ID number to appear in every cell in the column. For example: if
A2 value is 445...I want A3 A4 and A5 to show 445. Then, when A6 changes to,
say, 778, I want A7 A8 and A9 to show 778. The reason is because I need to do
a v-lookup for data in column I5 (etc). Using the auto-fill from the corner
of each A2, A6 cell is too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks much!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Copy value from cell above

Hi Lisa
in column B enter this formula and copy all the way down, it will do the trick

=+IF(A2="",A3,A4)

"Lisa" wrote:

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another unique ID
number.

I need the ID number to appear in every cell in the column. For example: if
A2 value is 445...I want A3 A4 and A5 to show 445. Then, when A6 changes to,
say, 778, I want A7 A8 and A9 to show 778. The reason is because I need to do
a v-lookup for data in column I5 (etc). Using the auto-fill from the corner
of each A2, A6 cell is too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks much!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default Copy value from cell above

This is getting closer. That formula is returning a zero in B2, B3 and B4,
then B5 is showing the value in B6.

I hope I'm explaining this right. I need A3, A4 and A5 to match A2
(substitute B for A for new column.)

Apologies if I am being dense.

"Eduardo" wrote:

Hi Lisa
in column B enter this formula and copy all the way down, it will do the trick

=+IF(A2="",A3,A4)

"Lisa" wrote:

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another unique ID
number.

I need the ID number to appear in every cell in the column. For example: if
A2 value is 445...I want A3 A4 and A5 to show 445. Then, when A6 changes to,
say, 778, I want A7 A8 and A9 to show 778. The reason is because I need to do
a v-lookup for data in column I5 (etc). Using the auto-fill from the corner
of each A2, A6 cell is too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks much!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Copy value from cell above

But please leave out the + sign, which is totally unnecessary.
--
David Biddulph

Eduardo wrote:
Hi Lisa
in column B enter this formula and copy all the way down, it will do
the trick

=+IF(A2="",A3,A4)

"Lisa" wrote:

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another
unique ID number.

I need the ID number to appear in every cell in the column. For
example: if A2 value is 445...I want A3 A4 and A5 to show 445. Then,
when A6 changes to, say, 778, I want A7 A8 and A9 to show 778. The
reason is because I need to do a v-lookup for data in column I5
(etc). Using the auto-fill from the corner of each A2, A6 cell is
too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks
much!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Copy value from cell above

Ok, I found a mistake in what I sent to you, but still I don't understand why
you get 0 in B2, please check that in column A are #
You said that in A2 you have 445, so if you enter this formula in B2
=if(A2="",A1,A2), this will bring 445, then in B3 you have to enter the
formula as follow

=if(A3="",B2,A3)





"Lisa" wrote:

This is getting closer. That formula is returning a zero in B2, B3 and B4,
then B5 is showing the value in B6.

I hope I'm explaining this right. I need A3, A4 and A5 to match A2
(substitute B for A for new column.)

Apologies if I am being dense.

"Eduardo" wrote:

Hi Lisa
in column B enter this formula and copy all the way down, it will do the trick

=+IF(A2="",A3,A4)

"Lisa" wrote:

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another unique ID
number.

I need the ID number to appear in every cell in the column. For example: if
A2 value is 445...I want A3 A4 and A5 to show 445. Then, when A6 changes to,
say, 778, I want A7 A8 and A9 to show 778. The reason is because I need to do
a v-lookup for data in column I5 (etc). Using the auto-fill from the corner
of each A2, A6 cell is too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks much!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Copy value from cell above

Select column A.

F5SpecialBlanksOK

Type an = sign in active blank cell then point or arrow to cell above.

Hit CTRL + ENTER

You then copy the column and in place Paste SpecialValuesOKEsc


Gord Dibben MS Excel MVP

On Wed, 31 Dec 2008 10:44:03 -0800, Lisa
wrote:

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another unique ID
number.

I need the ID number to appear in every cell in the column. For example: if
A2 value is 445...I want A3 A4 and A5 to show 445. Then, when A6 changes to,
say, 778, I want A7 A8 and A9 to show 778. The reason is because I need to do
a v-lookup for data in column I5 (etc). Using the auto-fill from the corner
of each A2, A6 cell is too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks much!


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Copy value from cell above

And copy the second formula all the way down

"Eduardo" wrote:

Ok, I found a mistake in what I sent to you, but still I don't understand why
you get 0 in B2, please check that in column A are #
You said that in A2 you have 445, so if you enter this formula in B2
=if(A2="",A1,A2), this will bring 445, then in B3 you have to enter the
formula as follow

=if(A3="",B2,A3)





"Lisa" wrote:

This is getting closer. That formula is returning a zero in B2, B3 and B4,
then B5 is showing the value in B6.

I hope I'm explaining this right. I need A3, A4 and A5 to match A2
(substitute B for A for new column.)

Apologies if I am being dense.

"Eduardo" wrote:

Hi Lisa
in column B enter this formula and copy all the way down, it will do the trick

=+IF(A2="",A3,A4)

"Lisa" wrote:

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another unique ID
number.

I need the ID number to appear in every cell in the column. For example: if
A2 value is 445...I want A3 A4 and A5 to show 445. Then, when A6 changes to,
say, 778, I want A7 A8 and A9 to show 778. The reason is because I need to do
a v-lookup for data in column I5 (etc). Using the auto-fill from the corner
of each A2, A6 cell is too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks much!

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 328
Default Copy value from cell above

Rock out dude! Thanks so much!

Thanks for all help! :)

"Gord Dibben" wrote:

Select column A.

F5SpecialBlanksOK

Type an = sign in active blank cell then point or arrow to cell above.

Hit CTRL + ENTER

You then copy the column and in place Paste SpecialValuesOKEsc


Gord Dibben MS Excel MVP

On Wed, 31 Dec 2008 10:44:03 -0800, Lisa
wrote:

Hello.

In this particular spreadsheet, I have a value (an ID #) in A2.
However...A3, A4, and A5 are blank. A6 starts over with another unique ID
number.

I need the ID number to appear in every cell in the column. For example: if
A2 value is 445...I want A3 A4 and A5 to show 445. Then, when A6 changes to,
say, 778, I want A7 A8 and A9 to show 778. The reason is because I need to do
a v-lookup for data in column I5 (etc). Using the auto-fill from the corner
of each A2, A6 cell is too time consuming as the spread is huge.

Is there a formula that will do this for the whole column? Thanks much!



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
how to copy the first word or two words from a cell containing a complete sentence to another cell jonny Excel Discussion (Misc queries) 7 May 19th 23 03:43 AM
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell [email protected] Excel Worksheet Functions 2 November 7th 07 09:39 AM
I copy a formula and the results copy from the original cell brooklynsd Excel Discussion (Misc queries) 1 June 23rd 07 01:35 AM
Data entry - Copy contents of cell typed in one cell to another ce danie Excel Worksheet Functions 2 March 16th 06 06:51 PM
Select cell, Copy it, Paste it, Return to Previous cell spydor Excel Discussion (Misc queries) 1 December 30th 05 01:29 PM


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