+ Reply to Thread
Results 1 to 6 of 6

Fill one cell based on data in another cell.

  1. #1
    Registered User
    Join Date
    04-15-2013
    Location
    RUSSIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Fill one cell based on data in another cell.

    I'm such a noob... This should be simple but I can't find a formula that works with everything needed. If this could be all one formula for cell A1 that'd be great.

    If B1 is blank, leave A1 blank
    If B1 is 1 make cell A1 say 1
    If B1 is 2 make cell A1 say 1
    If B1 is 3 make cell A1 say 2
    If B1 is 4 make cell A1 say 2
    If B1 is 5 make cell A1 say 3
    If B1 is 6 make cell A1 say 3


    Thanks!!
    Last edited by Fety; 08-31-2013 at 02:43 PM. Reason: I'm an idiot

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Fill one cell based on data in another cell.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-15-2013
    Location
    RUSSIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Fill one cell based on data in another cell.

    Wow, that was easy! thanks!

    How do I keep that cell empty if I don't enter anything in the other cell? it says 0.

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

    Re: Fill one cell based on data in another cell.

    Like this...

    =IF(COUNT(B1),CEILING(B1/2,1),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    04-15-2013
    Location
    RUSSIA
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Fill one cell based on data in another cell.

    awesome! thanks!

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

    Re: Fill one cell based on data in another cell.

    You're welcome. Thanks for the feedback!

+ 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. auto fill data in one cell based on formatting of another cell
    By ashouse in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-21-2013, 04:48 PM
  2. Fill data in one cell from another based on criteria from a third
    By pack89 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-10-2012, 11:08 AM
  3. Auto fill cells based on the data in another cell
    By excelnewman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-08-2011, 01:29 AM
  4. Cell fill colour based on chosen cell data validation value
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-08-2010, 05:33 AM
  5. [SOLVED] How do I change fill color in excel based on data in the cell
    By Jason Southco in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-29-2005, 12:05 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