Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Excel Formula Help

I am trying to copy a cell value in Column A to Column B. I want to stop the
copy at a blank row and start the formula over referencing the new dataset.
Example:
Column A Column B
bread bread
943234 bread
234112 bread

milk milk
232134 milk
123134 milk
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Excel Formula Help

This tinker seems to work ok
Source data as posted in A1 down
In B1: =A1
In C1: =IF(A2="","",IF(ISNUMBER(A2),C1,A2))
Copy C1 down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"Read" wrote:
I am trying to copy a cell value in Column A to Column B. I want to stop the
copy at a blank row and start the formula over referencing the new dataset.
Example:
Column A Column B
bread bread
943234 bread
234112 bread

milk milk
232134 milk
123134 milk

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Excel Formula Help

Errata, sorry:
In C1: =IF(A2="","",IF(ISNUMBER(A2),C1,A2))
Copy C1 down


Should be:
In B2: =IF(A2="","",IF(ISNUMBER(A2),B1,A2))
Copy B2 down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Excel Formula Help

This formula copied down column B makes an entire column of bread. It never
recognizes the change to milk? I'm still confused?

"Max" wrote:

Errata, sorry:
In C1: =IF(A2="","",IF(ISNUMBER(A2),C1,A2))
Copy C1 down


Should be:
In B2: =IF(A2="","",IF(ISNUMBER(A2),B1,A2))
Copy B2 down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Excel Formula Help

=IF(A1="","",LOOKUP(REPT("z",255),$A$1:A1))


"Read" wrote:

I am trying to copy a cell value in Column A to Column B. I want to stop the
copy at a blank row and start the formula over referencing the new dataset.
Example:
Column A Column B
bread bread
943234 bread
234112 bread

milk milk
232134 milk
123134 milk



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Excel Formula Help

Is calculation set to Automatic?


Gord Dibben MS Excel MVP

On Wed, 10 Dec 2008 05:42:05 -0800, Read
wrote:

This formula copied down column B makes an entire column of bread. It never
recognizes the change to milk? I'm still confused?

"Max" wrote:

Errata, sorry:
In C1: =IF(A2="","",IF(ISNUMBER(A2),C1,A2))
Copy C1 down


Should be:
In B2: =IF(A2="","",IF(ISNUMBER(A2),B1,A2))
Copy B2 down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Excel Formula Help

"Read" wrote:
This formula copied down column B makes an entire column of bread. It never
recognizes the change to milk? I'm still confused?


How about a quick working sample to take-away & unravel it all?
Should help give clarity:
http://freefilehosting.net/download/42m1h
Read.xls

(Sample also contains TM's neater, single formula solution)

There you go. Do remember to press the YES buttons (like the one below) in
ALL responses which helped you in this thread, won't you?
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
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
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue[_2_] Excel Discussion (Misc queries) 2 July 11th 07 06:08 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM


All times are GMT +1. The time now is 08:23 PM.

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"