+ Reply to Thread
Results 1 to 4 of 4

If cell is empty do a lookup or else use the value in the cell.

  1. #1
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    If cell is empty do a lookup or else use the value in the cell.

    I am creating a program that is used to make projections based on historic data.

    There are 8 actual input (A1-G1) but only 3 are required (A1,B1,C1) the rest are numbers based on historic data. What happens from time to time is that one of the NOT required numbers is KNOWN and therefore able to be entered.

    I would imagine that the only way to do with would be to fill in your data. EACH line of data is a new item so there could be 1 or 1000 lines (again each line is a separate calculation) and click a button to run a macro? Would you need a couple of buttons then too? To “reset” the sheets if you fill in a one of the NOT required slots with data?????

    Any assistance or direction would be really helpful on this.

    Many thanks,
    Ken

  2. #2
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Re: If cell is empty do a lookup or else use the value in the cell.

    Hi Ken, Can you be more specific of what is your desired result....

    attachment would be better as well...


    rgds

  3. #3
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Re: If cell is empty do a lookup or else use the value in the cell.

    This example is sort of reversed because I don’t know how to do it but it will give you an idea of what I am trying to accomplish
    Basically A-C are required inputs to help establish the auto fill in (lookup) in F-G

    How the sheet should REALLY look. Would be to have D-G EMPTY when you enter A-C.
    When you click on the Process button Sheet3 is created that will take Sheet1 with it but replace all EMPTY cells with the actual values that you see in sheet now…. OR in the case of how it SHOUD look if I were to actually put something in say D2 (not the standard default) Sheet3 would show THAT value and not the default.
    Does this make any sense. HA.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Re: If cell is empty do a lookup or else use the value in the cell.

    sorry, I didn't get you........ it seems you require a macro to just to do copy and paste the sheet1 in sheet3 and fill the blanks with vlookup.....

+ 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] Lookup (vector) returns 0 when cell is empty
    By kieranm105 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-10-2013, 04:51 AM
  2. [SOLVED] Returning a blank cell if the lookup value is empty
    By mgmerv in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-02-2012, 06:59 AM
  3. Replies: 4
    Last Post: 10-04-2012, 05:17 AM
  4. If a cell contains #N/A then copy cell to the left and paste into the next empty cell
    By jimmymac91 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2011, 08:24 AM
  5. Replies: 4
    Last Post: 06-24-2010, 11:13 AM

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