if function

Forum home » Delegate support and help forum » Microsoft Excel Training and help » If function

If function

resolvedResolved · Low Priority · Version 2010

dave has attended:
Excel Advanced course

If function

Hi. i have a cell that equals the value of another cell. what is happening at the moment is that if the "source"cell has no data then the "receiving" cell is placing a 0 there. im trying to make the cell show the value if there is one in the source cell, if there isnt a value then have nothing there. can you help?

RE: if function

Hi Dave

You can get the cell to display a blank instead of a zero by using an IF function.

=IF(Sheet2!A1="","",Sheet2!A1)

In this example if a A1 on Sheet2 is blank then receiving cell displays as blank. (Use a pair of double quotes to denote blank).
But if it is not blank then the value is displayed.

See if that works for your formula.

Doug Dunn
Best STL

RE: if function

Hi Doug, perfect and thank you for the speedy response.


 

Excel tip:

Create and delete borders

To put a border around the outside of a selected range, press Ctrl+Shift+&. Use Ctrl+Shift+_ (underscore) to remove any borders from a range.

View all Excel hints and tips


Server loaded in 0.08 secs.