+ Reply to Thread
Results 1 to 6 of 6

Multiple IFS problem

  1. #1
    Registered User
    Join Date
    09-01-2022
    Location
    Bucharest, Romania
    MS-Off Ver
    2013
    Posts
    17

    Multiple IFS problem

    Hi guys

    I need to determine how many females/males are between some age brackets.

    Can I pls ask you to have a look?..

    Thanks so much.
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,789

    Re: Multiple IFS problem

    i had to change the dates to a number so we can use > or <

    to do that i used > DATA > TEXT to COLUMNS

    =COUNTIFS($B$2:$B$12,"female",$C$2:$C$12,">="&LEFT(H$2,4)*1,$C$2:$C$12,"<="&RIGHT(H$2,4)*1)

    =COUNTIFS($B$2:$B$12,"male",$C$2:$C$12,">="&LEFT(H$2,4)*1,$C$2:$C$12,"<="&RIGHT(H$2,4)*1)
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    09-01-2022
    Location
    Bucharest, Romania
    MS-Off Ver
    2013
    Posts
    17

    Re: Multiple IFS problem

    Thanks so much!

    Much love!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,789

    Re: Multiple IFS problem

    you are welcome

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Multiple IFS problem

    Edited: Formula had small error. Now corrected.
    I'm a little late but here's another way.

    This may have to be array entered in cell H3 then copied down and across.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 06-23-2023 at 08:34 PM.
    Dave

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Multiple IFS problem

    Please see the attached.This is a simpler version of the same approach. I simplified the table layout and data. Then used this formula (probably array entered) in H4 copied down and across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Problem with IFS (or multiple IF)
    By falaaah in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-08-2022, 02:52 AM
  2. Replies: 6
    Last Post: 02-28-2014, 09:34 AM
  3. Problem with multiple IF
    By bryan444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2013, 02:23 PM
  4. [SOLVED] Multiple Ifs Problem
    By noelchb in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 06-12-2013, 12:23 PM
  5. [SOLVED] Formula Problem with Multiple IF / AND Statements and Multiple outcome?
    By JONBOY666 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-22-2013, 01:32 PM
  6. [SOLVED] Problem with multiple if
    By Sharon Hague in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2012, 12:03 PM
  7. Replies: 1
    Last Post: 02-08-2005, 03:06 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