+ Reply to Thread
Results 1 to 11 of 11

Manually editing a cell from a drop down list without effecting VLOOKUP values

  1. #1
    Registered User
    Join Date
    07-15-2014
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 2010
    Posts
    12

    Manually editing a cell from a drop down list without effecting VLOOKUP values

    Hi,
    My invoices use a drop down list of items (using data validation) connected to prices. Using VLOOKUP to get the corresponding prices. Item is in Column A, Price in Column B (on both invoice and worksheet of original source list).
    Example: Potato = R500

    Sometimes I need to edit the item on the invoice - for example edit "Potato" to "Potato Head". As soon as I do this the price returns #NA

    Is there an easy way to be able to edit the cell in the drop down list so "Potato Head" will still return the same price value as the unedited "Potato"?
    I have 200 items with matching prices - mission to start breaking down these descriptions and using sub-lists - as prices also change depending on client. Don't want accounting package - love Excel too much.

    Is there a formula that can "copy formula but paste as number" as opposed to doing it through the mouse & menus? (So it can carry the formula down in a table automatically).

    Hope this makes sense to someone?
    SV

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    "Paste Special" ?

    Look HERE and HERE
    Last edited by Logit; 11-05-2016 at 07:12 PM.

  3. #3
    Registered User
    Join Date
    07-15-2014
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 2010
    Posts
    12

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    Thanks. Not really wanting to create a macro or having to go through menus - just a simple formula.

    Was thinking of putting the VLOOKUP formula value of price in a separate column and then equaling that column to my Column B prices? If that makes sense?
    "Copy & paste as number" but in a formula.

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    I'll continue to follow this thread to see how it turns out. Please keep us updated ... your solution will be a good resource for all.

  5. #5
    Registered User
    Join Date
    07-15-2014
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 2010
    Posts
    12

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    Am I asking the impossible?
    :-/

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,573

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Registered User
    Join Date
    07-15-2014
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 2010
    Posts
    12

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    Thanks so much. I will send sample when I get a chance. For now I'm just too busy... I will soon as I am really keen to find an easy, non-macro based solution.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,231

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    IF you are able to implement a rule - here that the FIRST word of the modified description MUST ALWAYS be the original word on theDV list, then it's easy. So "potato" can become "potato skin" but not "peeled potato"

    Try adding a word or two after any of the DD entries in the yellow cells here:
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    Maybe something like this...

    Data Range
    A
    B
    C
    D
    E
    F
    1
    Item
    Price
    Item
    Price
    2
    Potato Head
    1.59
    Potato
    1.59
    3
    Onion
    1.99
    4
    Corn
    1.29
    5
    Cabbage
    0.99
    6
    ------
    ------
    ------
    ------
    ------
    ------


    Create the table in E1:F5.

    Then, this formula in B2:

    =IFERROR(LOOKUP(1000,SEARCH(E2:E5,A2),F2:F5),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  10. #10
    Registered User
    Join Date
    07-15-2014
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 2010
    Posts
    12

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    Glen, you knew exactly what I was needing. (I'm not the greatest at explaining things...)

    I had to play with your formula a bit as my items are many worded - with the constant addition of more words for any given item...
    My source list file is "List_Details", @Description is the first column on my invoice table.

    =IFERROR(INDEX(List_Details.xlsx!Unit_Price,MATCH(IFERROR(LEFT([@Description],-1),[@Description]),List_Details.xlsx!Details,10)),"")

    This works perfectly!
    I changed the "0" at the end to 10 to accommodate for more wording.
    Also, out of interest, when I originally copied your formula I misspelled "find" (it was late I was tired - I typed "fine" by mistake). And yet the formula still worked. When I corrected it to "Find" the returns went haywire...
    So I tried taking the Find option out of the formula and it works amazingly!

    Thank you so much for your very valuable assistance!

    SV

  11. #11
    Registered User
    Join Date
    07-15-2014
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Office 2010
    Posts
    12

    Re: Manually editing a cell from a drop down list without effecting VLOOKUP values

    Thanks everyone for your time & suggestions.
    Glenn's formula (with my few tweaks) seems to be doing the trick well.

+ 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. Returning values from data validation drop down list, vlookup.
    By PotentialSimpleQuest in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2014, 10:20 AM
  2. Replies: 8
    Last Post: 10-29-2014, 06:17 AM
  3. [SOLVED]VLookup not work unless manually key in the values
    By jackson_hollon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-26-2014, 12:15 AM
  4. Replies: 1
    Last Post: 06-22-2014, 02:39 AM
  5. [SOLVED] Editing a drop down list
    By 1Monkey in forum Excel General
    Replies: 2
    Last Post: 08-15-2012, 02:40 PM
  6. Replies: 1
    Last Post: 07-28-2012, 08:03 AM
  7. Can I get a Drop-Down List & in certain cases be able to enter Manually?
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 03-13-2012, 01:40 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