#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Cell reference

Should be a simple answer, but cannot figure it out. Column A1:A10 shows
1,2,3,4...10 respectively. Column B has text in each cell adjacent to
1,2,3,4...10. If a cell in column B has no text, I want the adjacent cell in
column A to show no number at all. I want the cell to be blank. But if there
is text that goes back into the cell, I want it to reflect the 1,2,3,4...(the
number it should be). Hope it makes sense. Thanks again.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Cell reference

Use conditional formatting

Set the conditional format of cell A1 to Formula Is:
=ISBLANK(B1)

and pick a font color that matches the backgrouind color.

If the cell in column B is empty, the value in column A will apear to vanish!
--
Gary's Student


"Pete Elbert" wrote:

Should be a simple answer, but cannot figure it out. Column A1:A10 shows
1,2,3,4...10 respectively. Column B has text in each cell adjacent to
1,2,3,4...10. If a cell in column B has no text, I want the adjacent cell in
column A to show no number at all. I want the cell to be blank. But if there
is text that goes back into the cell, I want it to reflect the 1,2,3,4...(the
number it should be). Hope it makes sense. Thanks again.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default Cell reference

In A1 use the formula =IF(B1="","",ROW()) and copy down.
--
David Biddulph


"Pete Elbert" wrote in message
...
Should be a simple answer, but cannot figure it out. Column A1:A10 shows
1,2,3,4...10 respectively. Column B has text in each cell adjacent to
1,2,3,4...10. If a cell in column B has no text, I want the adjacent cell
in
column A to show no number at all. I want the cell to be blank. But if
there
is text that goes back into the cell, I want it to reflect the
1,2,3,4...(the
number it should be). Hope it makes sense. Thanks again.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Cell reference

I am sure that this would do the trick, however, in an earlier posting, today
I am trying to accomplish maybe something way out of my reach. Let me run it
by you and maybe you can point me in the right direction. I still want to
not have anything show in A1 if B1 is blank. The formula I have in there now
is =IF(B1=FALSE,IF(B1=FALSE,Z7,0),"1"). However in C1 I have a formula
=A1&","&A2&","&A3&","&A4&"" This seems to be working fine except when the
cell is blank it leave a 0 in C1 (whichever 1 through 4 is blank in column
A). Any thoughts?

"Gary''s Student" wrote:

Use conditional formatting

Set the conditional format of cell A1 to Formula Is:
=ISBLANK(B1)

and pick a font color that matches the backgrouind color.

If the cell in column B is empty, the value in column A will apear to vanish!
--
Gary's Student


"Pete Elbert" wrote:

Should be a simple answer, but cannot figure it out. Column A1:A10 shows
1,2,3,4...10 respectively. Column B has text in each cell adjacent to
1,2,3,4...10. If a cell in column B has no text, I want the adjacent cell in
column A to show no number at all. I want the cell to be blank. But if there
is text that goes back into the cell, I want it to reflect the 1,2,3,4...(the
number it should be). Hope it makes sense. Thanks again.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Cell reference

"Pete Elbert" wrote:
.. However in C1 I have a formula
=A1&","&A2&","&A3&","&A4&""


For an automated neater display, put instead in C1:
=SUBSTITUTE(TRIM(A1&" "&A2&" "&A3&" "&A4)," ",",")
--
Max
Singapore
http://savefile.com/projects/236895
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
Nesting a sheet name reference within a cell reference??? Broyston Excel Discussion (Misc queries) 9 July 8th 08 08:35 PM
Using an offset formula for the reference in a relative reference Cuda Excel Worksheet Functions 6 November 15th 06 05:12 PM
How do I anchor a cell reference? CasaJay Excel Discussion (Misc queries) 3 June 7th 06 07:12 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Cell Reference Math Ralph Howarth Excel Worksheet Functions 0 January 26th 05 06:27 PM


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