+ Reply to Thread
Results 1 to 9 of 9

Need to have reuslts in different cells, depending on which day

Hybrid View

  1. #1
    Registered User
    Join Date
    08-11-2013
    Location
    Gibraltar
    MS-Off Ver
    Excel 2007
    Posts
    14

    Need to have reuslts in different cells, depending on which day

    How can I get the results in cell J11 to output into cells G11 or H11, depending on whether cell B11 is either Sat or Sun.
    Any help will be greatly appreciated.
    Attached Files Attached Files
    ......................

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Need to have reuslts in different cells, depending on which day

    Using your sample workbook, see attached....formulas are in column G & H
    need-to-have-reuslts-in-different-cells-depending-on-which-day-book2.xlsx
    Edit* The workbook wont open for me when I click the link, not sure if it's the same for anyone else, but, I did what newdoverman posted.
    Last edited by gmr4evr1; 09-20-2015 at 11:56 AM. Reason: Added edit
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need to have reuslts in different cells, depending on which day

    Enter in G11 and fill down:
    Formula: copy to clipboard
    =IF(B11="Sat",J11,"")


    Enter in H11 and fill down:
    Formula: copy to clipboard
    =IF(B11="Sun",J11,"")
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Registered User
    Join Date
    08-11-2013
    Location
    Gibraltar
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Need to have reuslts in different cells, depending on which day

    Thanks gmr4evr1 and newdoverman; for you very speedy responses, not sure why the example wouldn't open. Anyway, I tried your very efficient and simple fixes, which worked great, however, I should have explained that if the results were under the Sat /Sun column, then nothing should appear in the Weekday column.
    Any thoughts?

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need to have reuslts in different cells, depending on which day

    Change G11 to the following and fill down:
    Formula: copy to clipboard
    =IF(B11="Sat",IF($M11=7.5," ",IF(F11=8,7.5,IF($F11=12,11.25))),"")

    Change H11 to the following and fill down:
    Formula: copy to clipboard
    =IF(B11="Sun",IF($M11=7.5," ",IF(F11=8,7.5,IF($F11=12,11.25))),"")

    Change J11 to the following and fill down:
    Formula: copy to clipboard
    =IF(OR(B11="Sat",B11="Sun"),"",IF($M11=7.5," ",IF(F11=8,7.5,IF($F11=12,11.25))))

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Need to have reuslts in different cells, depending on which day

    Dang it! It took me a bit longer to figure it out, but here is my solution..
    Put this in G11 and drag down
    =IF(B11<>"Sat"," ",IF(F11=8,7.5,IF($F11=12,11.25,"")))
    This in H11 and drag down
    =IF(B11<>"Sun"," ",IF(F11=8,7.5,IF($F11=12,11.25,"")))
    This in J11 and drag down
    =IF(B11="Sat","",IF(B11="Sun","",IF($M11=7.5," ",IF(F11=8,7.5,IF($F11=12,11.25,"")))))

  7. #7
    Registered User
    Join Date
    08-11-2013
    Location
    Gibraltar
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: Need to have reuslts in different cells, depending on which day

    Thanks again to newdoverman, and gmr4evr1. You have both come up with the goods.Thanks to you, this will make filing in my wifes hospital timesheet a breeze.

    Cheers fellas.

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Need to have reuslts in different cells, depending on which day

    Thank you for the feedback.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  9. #9
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Need to have reuslts in different cells, depending on which day

    You're welcome, glad it worked for you.

+ 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. Formula checks multiple cells for words and outputs answer depending on cells
    By keez1993 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2015, 09:18 AM
  2. Replies: 2
    Last Post: 05-14-2015, 03:19 PM
  3. [SOLVED] Priority Rank depending on blank cells w/ bypassing cells with content
    By eaflynn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-26-2015, 01:30 AM
  4. Insert formula depending on cells depending of variables
    By elmexicano87 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-29-2014, 01:22 PM
  5. Replies: 4
    Last Post: 09-25-2013, 03:51 PM
  6. [SOLVED] Formula to add values in cells depending on what text is entered in other cells
    By Kayaness in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-09-2013, 05:31 AM
  7. Replies: 2
    Last Post: 04-05-2012, 08:22 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