+ Reply to Thread
Results 1 to 5 of 5

Have the content of a cell only show if another cell has an entry

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Have the content of a cell only show if another cell has an entry

    I have a sheet that has an entry of $100.00 in H18 however I only want this to show if an entry is made to H10. If H10 is blank then H18 should be zero.

    Is there a way to do this?

  2. #2
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Have the content of a cell only show if another cell has an entry

    Hello Mike
    If you put this in H18, it'll be blank if H10 is blank, anything in H10 & it'll show 100. Format H18 to currency, change the decimal point to suit & it'll show in currency format
    Cheers
    =IF(H10<>"",100,0)

  3. #3
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Have the content of a cell only show if another cell has an entry

    That works great but is it possible that if it is o rather than blank that as well would result in H18 also being blank. In other words a number greater than 1 would have to be entered in order for H18 to populate?

  4. #4
    Valued Forum Contributor
    Join Date
    08-22-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2019
    Posts
    716

    Re: Have the content of a cell only show if another cell has an entry

    Any number greater than 1 in H10, H18 will show 100, any text or any number less or equal to 1 entered into H10, H18 shows 0
    =IF(OR(ISTEXT(H10),H10<=1),0,100)
    If you're not bothered about the text
    =IF(H10>1,100,0)
    Hopefully that covers all the bases
    Cheers

  5. #5
    Forum Contributor
    Join Date
    07-02-2012
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    221

    Re: Have the content of a cell only show if another cell has an entry

    Thanks works perfect

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to show only some content of a cell?
    By MayaCU in forum Excel General
    Replies: 2
    Last Post: 12-14-2011, 07:05 AM
  2. look up same entry and join cell content
    By mataka in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-14-2009, 01:02 PM
  3. How do I show a userform based on content of a cell?
    By 2funny4words in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-01-2009, 01:34 AM
  4. show content of particular cell
    By lex_ce in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2009, 05:53 AM
  5. enter a time into a cell, have the cell show two times the entry
    By johnp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-01-2005, 08:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1