+ Reply to Thread
Results 1 to 12 of 12

4 If statements in one cell each separated by • ?

  1. #1
    Registered User
    Join Date
    12-24-2008
    Location
    Jackson, Wisconsin
    Posts
    22

    4 If statements in one cell each separated by • ?

    No idea if this is even remotely possible, but here are my 4 if statements. If it is possible and someone could take the time to give me the formula, it would save my brain from a lot of work.

    =IF(SUM(B3:B65536)=SUM(Movies!D:D),"☺", "!!")
    =IF(SUM(D3:D65536)=SUM(Movies!F:F),"☺", "!!")
    =IF(SUM(E3:E65536)=SUM(Movies!G:G),"☺", "!!")
    =IF(SUM(G3:G65536)=SUM(Movies!I:I),"☺", "!!")

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

    Re: 4 If statements in one cell each separated by • ?

    Here's how to nest if statements

    http://www.techonthenet.com/excel/fo.../if_nested.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
    Forum Contributor
    Join Date
    05-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    259

    Re: 4 If statements in one cell each separated by • ?

    If you have not managed to complete you'r task post a sample workbook. Nesting IF statements is straight forward, and you might even find a better solution to you'r problem.

  4. #4
    Registered User
    Join Date
    12-24-2008
    Location
    Jackson, Wisconsin
    Posts
    22

    Re: 4 If statements in one cell each separated by • ?

    OK, in the Movie Features tab you'll see 4 cells at the top with !! symbols in them. It is the formulas in those 4 cells that, if possible, I would like to have all in one cell.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-09-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    259

    Re: 4 If statements in one cell each separated by • ?

    Thanks for that. What would you like to sum? are these prices? Could you post an example of the result you would like?
    Last edited by Hurricanefly; 06-09-2013 at 10:01 AM.

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: 4 If statements in one cell each separated by • ?

    Do you mean..

    =IF(AND(SUM(B3:B65536)=SUM(Movies!D:D),SUM(D3:D65536)=SUM(Movies!F:F),SUM(E3:E65536)=SUM(Movies!G:G),SUM(G3:G65536)=SUM(Movies!I:I)),"☺", "!!")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  7. #7
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: 4 If statements in one cell each separated by • ?

    Do you mean..

    =IF(AND(SUM(B3:B65536)=SUM(Movies!D:D),SUM(D3:D65536)=SUM(Movies!F:F),SUM(E3:E65536)=SUM(Movies!G:G),SUM(G3:G65536)=SUM(Movies!I:I)),"☺", "!!")

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

    Re: 4 If statements in one cell each separated by • ?

    or slightly shorter...
    =IF(AND(SUM(B:B)=SUM(Movies!D:D),SUM(D:D)=SUM(Movies!F:F),SUM(E:E)=SUM(Movies!G:G),SUM(G:G)=SUM(Movies!I:I)),"☺", "!!")
    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

  9. #9
    Registered User
    Join Date
    12-24-2008
    Location
    Jackson, Wisconsin
    Posts
    22

    Re: 4 If statements in one cell each separated by • ?

    Thanks For the help, but I guess what I'm trying to see if I can do is get all 4 if statements and their respective results in one cell, not just one overall result.

  10. #10
    Registered User
    Join Date
    12-24-2008
    Location
    Jackson, Wisconsin
    Posts
    22

    Re: 4 If statements in one cell each separated by • ?

    Hurricane: I just want verification that data from 4 different areas in 2 separate worksheets match up.

  11. #11
    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,968

    Re: 4 If statements in one cell each separated by • ?

    Quote Originally Posted by cmcasper View Post
    Thanks For the help, but I guess what I'm trying to see if I can do is get all 4 if statements and their respective results in one cell, not just one overall result.
    Maybe...
    =IF(SUM(B3:B65536)=SUM(Movies!D:D),"☺", "!!")&" "&=IF(SUM(D3:D65536)=SUM(Movies!F:F),"☺", "!!")&" "&
    =IF(SUM(E3:E65536)=SUM(Movies!G:G),"☺", "!!")&" "&=IF(SUM(G3:G65536)=SUM(Movies!I:I),"☺", "!!")

  12. #12
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: 4 If statements in one cell each separated by • ?

    Guess FDibbins has it with this amendment "•"
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Marcol; 06-09-2013 at 08:57 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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