Forum Discussion

acass2024's avatar
acass2024
Copper Contributor
Aug 09, 2024
Solved

=IF formula to fill a referenced cell

Hello All,   I am trying to make a fillable worksheet for internal use within our office.  I have a cell (B3) that I want to hold placeholder text that tells the user what to put into it.  I'm hopi...
  • m_tarler's avatar
    Aug 09, 2024

    so no you can NOT set the value or display setting of a different cell using a cell formula
    you could use a macro/VBA but even that might get tricky/buggy
    one option you could do is use custom formatting and define '0' to be "name" and then preset the value of those cells to be 0 (zero). In this way any formula could easily ignore anything = 0 but the user would SEE the text prompt
    so to do this select cell B3 and go Home-> Number ->custom formatting->Custom -> and in the box type something like: 0.00;-0.00;"Name"

    This is summarized in the following picture:

     

    notice how cell H29 is selected and is SHOWING "Name" but in the formula bar the actual value in the cell is 0.  And the Format window is open showing that cell has custom formatting selected and in the "Type" entry I entered:    0.00; -0.00; "Name"

Resources