+ Reply to Thread
Results 1 to 12 of 12

formula to auto delete number in dropdown list when number appears in another cell

  1. #1
    Registered User
    Join Date
    04-27-2014
    Location
    Kansas City
    MS-Off Ver
    Excel 2013
    Posts
    13

    formula to auto delete number in dropdown list when number appears in another cell

    Greetings Everyone,

    I'm making a Excel 2013 spreadsheet that has formula in a column that auto enters a number 1-40 when something is entered to the left of that cell. There are 300 rows in the spreadsheet. I would like to make a drop down list in a column cell to the right that would delete that number in that cell from the drop down list.
    For example cell C1 has 39, that 39 then is deleted from the drop down list. C2 has 22 in it, click on the drop down list cell and it shows 1-40 less 39 and 22.

    Hope this makes sense. Thank you for looking.

    ddevins

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: formula to auto delete number in dropdown list when number appears in another cell

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-27-2014
    Location
    Kansas City
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: formula to auto delete number in dropdown list when number appears in another cell

    JBeaucaire,

    I have attached file I hope. Thank you for your response

    ddevins

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: formula to auto delete number in dropdown list when number appears in another cell

    There is no file
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  5. #5
    Registered User
    Join Date
    04-27-2014
    Location
    Kansas City
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: formula to auto delete number in dropdown list when number appears in another cell

    I tried to upload file again.

    If no good, can I email it.

    my email is xxx.xxx.xxx

    Thank you,
    Last edited by FDibbins; 04-27-2014 at 03:21 PM. Reason: email deleted

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: formula to auto delete number in dropdown list when number appears in another cell

    ddevins, welcome to the forum

    It is not wise to include personaly info like your email here, this is a public forum, and not all members are here for/to help, unfortunately
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    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: formula to auto delete number in dropdown list when number appears in another cell

    Hi

    One of our members (thanks Ice Station..) has noted that you've added your email address in this public forum. That's not usually a good idea and an attraction for spammers. You may want to consider removing it and working out how to upload your file.
    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.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: formula to auto delete number in dropdown list when number appears in another cell

    Already removed, Richard

  9. #9
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: formula to auto delete number in dropdown list when number appears in another cell

    In Logging Sheet in S7
    copy paste below then hold control and shift and then hit enter to make it array formula
    =IFERROR(INDEX(ROW(INDIRECT("1:40")),SMALL(IF(COUNTIF($K$6:$K$302,ROW(INDIRECT("1:40")))=0,ROW(INDIRECT("1:40"))),ROW(A1))),"")

    drag the formula down upto 40 rows

    Select P7 to P302 , go to data validation ---> select list ---->IN SOURCE BOX copy paste =$S$7:INDEX($S$7:$S$46,MATCH(TRUE,ISTEXT($S$7:$S$46),0)-1)
    click Ok

    You can after words hide column S Or select white font color for column S
    Hope this helps

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,513

    Re: formula to auto delete number in dropdown list when number appears in another cell

    Pl see attached file.

  11. #11
    Registered User
    Join Date
    04-27-2014
    Location
    Kansas City
    MS-Off Ver
    Excel 2013
    Posts
    13

    Re: formula to auto delete number in dropdown list when number appears in another cell

    thank you very much hemesh and kvsrinivasamurthy, works fine.

    ddevins

  12. #12
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: formula to auto delete number in dropdown list when number appears in another cell

    You are Welcome Devins. If you are satisfied with the solution/s mark the thread as solved.
    And you can thank them who has helped you by clicking Add rep icon at the bottom left corner of their post

+ 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. Replies: 1
    Last Post: 07-18-2013, 10:11 AM
  2. Replies: 8
    Last Post: 04-22-2013, 06:30 PM
  3. Replies: 2
    Last Post: 12-06-2012, 05:52 PM
  4. Auto Number: Starting List at Number Greater than 1
    By cmf0106 in forum Word Formatting & General
    Replies: 1
    Last Post: 04-02-2012, 05:20 PM
  5. Replies: 0
    Last Post: 08-28-2005, 10:37 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