+ Reply to Thread
Results 1 to 5 of 5

Leaving a cell (with formula) displaying as empty if theres data in another cell

  1. #1
    Registered User
    Join Date
    01-26-2015
    Location
    Haydock
    MS-Off Ver
    13
    Posts
    4

    Leaving a cell (with formula) displaying as empty if theres data in another cell

    Still working on my photo album reckoner, thought i'd almost sorted it, would be easier to explain with a couple of screenshots but oh well.

    The formula for getting the cost depending on wether there's 20,40,60,80,100 pages with a "Y" in the relevant cell worked well for the smooth paper(J6).
    The problem occurred when i added the formula for working out the cost of textured paper in the next row down(J7).

    For some reason when the cost is diplayed for textured paper the cost for smooth paper(J6) now displays as 20406080100 instead of a blank cell and vice versa depending on the paper choice.

    I need the cost cell to show blank for the smooth paper(J6) if there is a cost showing for the textured paper(J7) and if there is a cost showing for the smooth paper (J6) then i need the textured paper cost cell (J7) to show as empty.

    I think i just need the formula finishing off so that i will hide the data in the cells that arent wanted if that can be done.

    Hope that makes sense, i've attached the spreadsheet so if some kind person wouldn't mind having a quick look to see if anything can be done with it?

    Thanks in advance.

    WEDDING TEST.xlsx

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Leaving a cell (with formula) displaying as empty if theres data in another cell

    Hi,

    If J6 is dependent on J7 and J7 is dependent on J6, which you seem to be suggesting then you're creating a circular reference and unless there are over-riding reasons so to do then you should avoid them.

    I'm also puzzled by the use of the term cost since you seem to be building a character string of page counts in column J. I can't see where true 'costs' appear

    Can you tell us what you're trying to achieve and perhaps create several examples in which you have manually added rge results you expect to see and tell us which are the results and which original data.

    To be honest I think you may be creating a problem for yourself in not having a normalised database of records.

    If the intention is to be able to price wedding albums for customers then personally I'd rethink the design otherwise I think you're overcomplicating this.
    If you have the costs for various sizes, page counts, paper quality & thickness then the first thing to do is create some tables that contain these various cost elements and use these when selecting what the customer wants and building up a quote.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    03-17-2005
    Location
    Canterbury, Kent
    MS-Off Ver
    2003, 2010
    Posts
    285

    Re: Leaving a cell (with formula) displaying as empty if theres data in another cell

    The cells in column I are not blank, which is why column J is giving incorrect data.

    Windy

  4. #4
    Registered User
    Join Date
    01-26-2015
    Location
    Haydock
    MS-Off Ver
    13
    Posts
    4

    Re: Leaving a cell (with formula) displaying as empty if theres data in another cell

    Thanks for the replies.
    I've tried making a new spreadsheet based on advice and putting the pricing info in a table with a couple of examples of what im trying to achieve.

    All i want to be able to do is put the info onto the customer details worksheet,
    Book Size, Number of Pages and Paper Type.
    The formula then takes the correct info from the table on worksheet 3 and puts the price in the cost cell.

    The new spreadsheet is here-

    Wedding Test 2.xlsx


    Thanks again!! Stuart.
    Last edited by bluenose_1878; 01-27-2015 at 12:25 PM.

  5. #5
    Registered User
    Join Date
    01-26-2015
    Location
    Haydock
    MS-Off Ver
    13
    Posts
    4

    Re: Leaving a cell (with formula) displaying as empty if theres data in another cell

    Thanks for the advice, i think im defintely over complicating it.
    I've put together another spreadsheet based on your suggestions of a table and some examples and i've posted it if you wouldnt mind having a quick look when you can. Many Thanks!

+ 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. [SOLVED] Copy & paste a row (without leaving an empty row behind!) if a cell contains a value
    By cath1509 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-24-2014, 12:00 PM
  2. [SOLVED] Leaving a Cell Empty
    By Bob Folks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-08-2014, 01:17 AM
  3. [SOLVED] Leaving cell with formula blank until data is entered.
    By Marley04 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-12-2013, 09:17 PM
  4. Leaving the result cell empty is no data in the cells relating to the formula
    By chrishill12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-01-2013, 10:50 AM
  5. Leaving an empty cell empty
    By GRL in forum Excel General
    Replies: 5
    Last Post: 04-22-2006, 12:50 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