Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 190
Default If Cell is Blank (Though a Link), Hide Result, Else Normal Font

Hello.

I would like the result of a formula to show ("show" as normal font) if
something is true, and I'd like it to not show/not print (be in white font)
if it's false.

In my worksheet, Cell Q20 is the total month's sales projection, and Cell
I20 is the total number of workdays in the month. The sheet also has these
columns:

Col Z: Workday Number (Z9:Z40 are links to another sheet; will show either a
numeral 1 through approx 20 or else be blank if the linked-to sheet's cell
value is blank)

Col AA: Daily Actual Sales (AA9:AA40 are links to a datasheet; may be <0, 0
or ))

Col AB: Month-to-date Actual Sales (sum of to-date values; the calc in AB16,
for example, is the sum of AA9:AA16)

Col AC: MTD Projection Sales


Currently, Cell AC13 is:

=IF(OR(AA13=0,AA13=""),AC12,AC12+($Q$20/$I$20)

Cell Z13 contains the number 5, for Workday number 5, and so it is good that
a MTD Projection # appears in Cell AC13.

Cell AA14 does not have a number shown/it is blank; it does link to a cell
on another sheet, and that linked-to cell is blank. I would like Cell AC14 to
be in white font/to NOT appear, because there are no Daily Sales and no
Workday value shown in Row 14. There are no Daily Sales and no Workday in Row
15, either, so I would like AA15 to also be blank.

Since Daily Sales and Workday next appear on Row 16, I would like AC16 to be
in normal/black font.

Does this make sense? Would I Should I use a different formula in AC13?

Sorry if this is too much info...just trying to be thorough.

Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default If Cell is Blank (Though a Link), Hide Result, Else Normal Font

The usual trick is to look at the reference and if it blank, use blank rather
than a value or formula:

=IF(Sheet1!L18="","",Sheet1!L18)
--
Gary''s Student - gsnu200822


"Mary" wrote:

Hello.

I would like the result of a formula to show ("show" as normal font) if
something is true, and I'd like it to not show/not print (be in white font)
if it's false.

In my worksheet, Cell Q20 is the total month's sales projection, and Cell
I20 is the total number of workdays in the month. The sheet also has these
columns:

Col Z: Workday Number (Z9:Z40 are links to another sheet; will show either a
numeral 1 through approx 20 or else be blank if the linked-to sheet's cell
value is blank)

Col AA: Daily Actual Sales (AA9:AA40 are links to a datasheet; may be <0, 0
or ))

Col AB: Month-to-date Actual Sales (sum of to-date values; the calc in AB16,
for example, is the sum of AA9:AA16)

Col AC: MTD Projection Sales


Currently, Cell AC13 is:

=IF(OR(AA13=0,AA13=""),AC12,AC12+($Q$20/$I$20)

Cell Z13 contains the number 5, for Workday number 5, and so it is good that
a MTD Projection # appears in Cell AC13.

Cell AA14 does not have a number shown/it is blank; it does link to a cell
on another sheet, and that linked-to cell is blank. I would like Cell AC14 to
be in white font/to NOT appear, because there are no Daily Sales and no
Workday value shown in Row 14. There are no Daily Sales and no Workday in Row
15, either, so I would like AA15 to also be blank.

Since Daily Sales and Workday next appear on Row 16, I would like AC16 to be
in normal/black font.

Does this make sense? Would I Should I use a different formula in AC13?

Sorry if this is too much info...just trying to be thorough.

Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 190
Default If Cell is Blank (Though a Link), Hide Result, Else Normal Fon

I think I know what you mean...however, I wish for there to be a number shown
in AC13 (Day 5), then AC14 and AC15 should be blank, then there should be a
number shown again in AC16 (Day 6). Perhaps I have missed an additional "" in
my formula?

"Gary''s Student" wrote:

The usual trick is to look at the reference and if it blank, use blank rather
than a value or formula:

=IF(Sheet1!L18="","",Sheet1!L18)
--
Gary''s Student - gsnu200822


"Mary" wrote:

Hello.

I would like the result of a formula to show ("show" as normal font) if
something is true, and I'd like it to not show/not print (be in white font)
if it's false.

In my worksheet, Cell Q20 is the total month's sales projection, and Cell
I20 is the total number of workdays in the month. The sheet also has these
columns:

Col Z: Workday Number (Z9:Z40 are links to another sheet; will show either a
numeral 1 through approx 20 or else be blank if the linked-to sheet's cell
value is blank)

Col AA: Daily Actual Sales (AA9:AA40 are links to a datasheet; may be <0, 0
or ))

Col AB: Month-to-date Actual Sales (sum of to-date values; the calc in AB16,
for example, is the sum of AA9:AA16)

Col AC: MTD Projection Sales


Currently, Cell AC13 is:

=IF(OR(AA13=0,AA13=""),AC12,AC12+($Q$20/$I$20)

Cell Z13 contains the number 5, for Workday number 5, and so it is good that
a MTD Projection # appears in Cell AC13.

Cell AA14 does not have a number shown/it is blank; it does link to a cell
on another sheet, and that linked-to cell is blank. I would like Cell AC14 to
be in white font/to NOT appear, because there are no Daily Sales and no
Workday value shown in Row 14. There are no Daily Sales and no Workday in Row
15, either, so I would like AA15 to also be blank.

Since Daily Sales and Workday next appear on Row 16, I would like AC16 to be
in normal/black font.

Does this make sense? Would I Should I use a different formula in AC13?

Sorry if this is too much info...just trying to be thorough.

Thank you.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 190
Default If Cell is Blank (Though a Link), Hide Result, Else Normal Fon

Okay, yes! I did put the "" well BEFORE the rest of that whole formula--and
of course now it is returns a 'blank' cell. Thank you for helping me see
through that most obvious solution--and so simple! Whew.

"Gary''s Student" wrote:

The usual trick is to look at the reference and if it blank, use blank rather
than a value or formula:

=IF(Sheet1!L18="","",Sheet1!L18)
--
Gary''s Student - gsnu200822


"Mary" wrote:

Hello.

I would like the result of a formula to show ("show" as normal font) if
something is true, and I'd like it to not show/not print (be in white font)
if it's false.

In my worksheet, Cell Q20 is the total month's sales projection, and Cell
I20 is the total number of workdays in the month. The sheet also has these
columns:

Col Z: Workday Number (Z9:Z40 are links to another sheet; will show either a
numeral 1 through approx 20 or else be blank if the linked-to sheet's cell
value is blank)

Col AA: Daily Actual Sales (AA9:AA40 are links to a datasheet; may be <0, 0
or ))

Col AB: Month-to-date Actual Sales (sum of to-date values; the calc in AB16,
for example, is the sum of AA9:AA16)

Col AC: MTD Projection Sales


Currently, Cell AC13 is:

=IF(OR(AA13=0,AA13=""),AC12,AC12+($Q$20/$I$20)

Cell Z13 contains the number 5, for Workday number 5, and so it is good that
a MTD Projection # appears in Cell AC13.

Cell AA14 does not have a number shown/it is blank; it does link to a cell
on another sheet, and that linked-to cell is blank. I would like Cell AC14 to
be in white font/to NOT appear, because there are no Daily Sales and no
Workday value shown in Row 14. There are no Daily Sales and no Workday in Row
15, either, so I would like AA15 to also be blank.

Since Daily Sales and Workday next appear on Row 16, I would like AC16 to be
in normal/black font.

Does this make sense? Would I Should I use a different formula in AC13?

Sorry if this is too much info...just trying to be thorough.

Thank you.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 190
Default If Cell is Blank (Though a Link), Hide Result, Else Normal Fon

Sorry, but I'm not sure this works; it appears I lose month-to-date
cumulative projection #s in Column AC. If I change the formula in Cell AC14
to be

=IF(Z14="","",(IF(OR(AA14=0,AA14=""),AC13,AC13+($Q $20/$I$20)

the result in AC14, which is a MTD #, is fine, because there is a numeral
'5' in Cell Z14...but if I copy this formula down into Cell AC15, and when
Cell Z15 is blank in appearance/it is "", then I seem to lose the # that had
been accumulating up until
AC14.

Maybe the first part of my revised formula above is not correct...boy, I
can't seem to make it work.


"Gary''s Student" wrote:

The usual trick is to look at the reference and if it blank, use blank rather
than a value or formula:

=IF(Sheet1!L18="","",Sheet1!L18)
--
Gary''s Student - gsnu200822


"Mary" wrote:

Hello.

I would like the result of a formula to show ("show" as normal font) if
something is true, and I'd like it to not show/not print (be in white font)
if it's false.

In my worksheet, Cell Q20 is the total month's sales projection, and Cell
I20 is the total number of workdays in the month. The sheet also has these
columns:

Col Z: Workday Number (Z9:Z40 are links to another sheet; will show either a
numeral 1 through approx 20 or else be blank if the linked-to sheet's cell
value is blank)

Col AA: Daily Actual Sales (AA9:AA40 are links to a datasheet; may be <0, 0
or ))

Col AB: Month-to-date Actual Sales (sum of to-date values; the calc in AB16,
for example, is the sum of AA9:AA16)

Col AC: MTD Projection Sales


Currently, Cell AC13 is:

=IF(OR(AA13=0,AA13=""),AC12,AC12+($Q$20/$I$20)

Cell Z13 contains the number 5, for Workday number 5, and so it is good that
a MTD Projection # appears in Cell AC13.

Cell AA14 does not have a number shown/it is blank; it does link to a cell
on another sheet, and that linked-to cell is blank. I would like Cell AC14 to
be in white font/to NOT appear, because there are no Daily Sales and no
Workday value shown in Row 14. There are no Daily Sales and no Workday in Row
15, either, so I would like AA15 to also be blank.

Since Daily Sales and Workday next appear on Row 16, I would like AC16 to be
in normal/black font.

Does this make sense? Would I Should I use a different formula in AC13?

Sorry if this is too much info...just trying to be thorough.

Thank you.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default If Cell is Blank (Though a Link), Hide Result, Else Normal Font

I'm not sure why you insist on changing the font to white (you can do
this with conditional formatting) - just return "" if the condition is
met, otherwise return some other value.

Hope this helps.

Pete

On Dec 23, 5:41*pm, Mary wrote:
Hello.

I would like the result of a formula to show ("show" as normal font) if
something is true, and I'd like it to not show/not print (be in white font)
if it's false.

In my worksheet, Cell Q20 is the total month's sales projection, and Cell
I20 is the total number of workdays in the month. The sheet also has these
columns:

Col Z: Workday Number (Z9:Z40 are links to another sheet; will show either a
numeral 1 through approx 20 or else be blank if the linked-to sheet's cell
value is blank)

Col AA: Daily Actual Sales (AA9:AA40 are links to a datasheet; may be <0, 0
or ))

Col AB: Month-to-date Actual Sales (sum of to-date values; the calc in AB16,
for example, is the sum of AA9:AA16)

Col AC: MTD Projection Sales

Currently, Cell AC13 is:

=IF(OR(AA13=0,AA13=""),AC12,AC12+($Q$20/$I$20)

Cell Z13 contains the number 5, for Workday number 5, and so it is good that
a MTD Projection # appears in Cell AC13.

Cell AA14 does not have a number shown/it is blank; it does link to a cell
on another sheet, and that linked-to cell is blank. I would like Cell AC14 to
be in white font/to NOT appear, because there are no Daily Sales and no
Workday value shown in Row 14. There are no Daily Sales and no Workday in Row
15, either, so I would like AA15 to also be blank.

Since Daily Sales and Workday next appear on Row 16, I would like AC16 to be
in normal/black font.

Does this make sense? Would I Should I use a different formula in AC13?

Sorry if this is too much info...just trying to be thorough.

Thank you.


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
Hide a formula result until cell has been filled Sammy Excel Discussion (Misc queries) 13 May 19th 09 11:26 PM
Conditional Format Font Vs Normal Font basic Excel Discussion (Misc queries) 0 November 20th 08 09:04 PM
How to get Blank into a cell as a result of a formula jkb_junk Excel Worksheet Functions 2 January 10th 07 03:37 AM
How to get a formula result zero as blank cell Excelerate-nl Excel Discussion (Misc queries) 4 November 22nd 05 04:32 PM
Why Am I getting a blank in the result cell? salulu Excel Discussion (Misc queries) 4 September 7th 05 03:15 AM


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