+ Reply to Thread
Results 1 to 7 of 7

Multiple Formulas in one cel?

  1. #1
    Registered User
    Join Date
    07-11-2013
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Multiple Formulas in one cel?

    I have a multiple page document that is tracking my departments PTO. There is a single "Department" calendar and then individual calendars. On the Department calendar I need each day to list everyone who requested time off on that day, and skip the people who did not. Right now, I can make it list for one person, but how do I get it to do it for multiple people across many pages in a single cell. Here is what I currently have:

    =IF(('employee1'!B8<1),,ʺEmployee1ʺ)

    Now I need it somehow continue to say "AND IF(('Employee2!B8<1),,ʺEmployee2ʺ), etc. Is this even possible?

    Many thanks!
    Jennifer

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: Multiple Formulas in one cel?

    Look at Nesting If statements and the "And" statements

    Here is a resource: http://www.techonthenet.com/excel/fo.../if_nested.php
    and: http://www.techonthenet.com/excel/formulas/and.php
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    07-11-2013
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Multiple Formulas in one cel?

    Yes, but I need one cell to have multiple answers. Everthing I found resulted in one only.

  4. #4
    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,926

    Re: Multiple Formulas in one cel?

    Hi and welcome to the forum

    Your requirement seems to be at odds. you want to combine
    =IF(('employee1'!B8<1),,ʺEmployee1ʺ)
    and IF(('Employee2!B8<1),,ʺEmployee2ʺ)

    so, what result would you show if both employee1'!B8 AND employee2'!B8 were <1?
    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

  5. #5
    Registered User
    Join Date
    07-11-2013
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Multiple Formulas in one cel?

    I would like the cel to be able to check each of our 100 employees days and then list each one that is out that day. So the formula to pull for one employee would be
    =IF(('employee1'!B8<1),,ʺEmployee1ʺ)

    But then I want it to continue with employee 2, 3, etc. Is this possible?

    Jen

  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,926

    Re: Multiple Formulas in one cel?

    i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  7. #7
    Registered User
    Join Date
    07-11-2013
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Multiple Formulas in one cel?

    I cannot upload it without greatly changing the whole document as it contains material that cannot be shared. I ended up using a hidden sheet to calculate the formula I wanted. Thank you for trying. =)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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