+ Reply to Thread
Results 1 to 4 of 4

How to determine values based on a previous cell

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    Virginia Beach, VA
    MS-Off Ver
    Excel 2007
    Posts
    14

    How to determine values based on a previous cell

    How do I put values on an adjacent cell depending on what a choose from a drop down box. So if I choose 5, it will be 5 on a separate cell and if I choose 3, it will be three and if N/A it will be 5?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: How to determine values based on a previous cell

    What cell is the drop down in? What values can be selected in the drop down box? Where do you want the result? What values do you want for each of the values picked in the drop down?

    If it's just a few, you could use IF. But, if it's a lot you might want to use a LOOKUP table.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-25-2011
    Location
    Virginia Beach, VA
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: How to determine values based on a previous cell

    Lets say A1-A5 and has dropdowns for 3, 0 and N/A. I want the N/A to be read as 3 so it doesn't affect the percentage.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: How to determine values based on a previous cell

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

+ 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: 4
    Last Post: 05-29-2013, 04:18 AM
  2. Replies: 3
    Last Post: 11-06-2012, 11:26 AM
  3. Macro - how to auto populate the data, based on the previous cell values
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-21-2012, 02:03 PM
  4. Macro to auto populate the destination cell based on the values of the previous cell
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-05-2009, 02:06 AM
  5. Macro - auto populate the values based on previous cell values
    By Avinash Kumar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-05-2009, 02:02 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