Sumif/s, VLookup or something else?

I'm in need of some formula help. I need a formula for the Males2 and Females2 columns on sheet 1, it should total up all the males/females from Sheet 2 and return that value to sheet 1. For example the result on sheet 1 for Number 2 should be 7 males and 5 females. The data is on two different sheets which shouldn't matter in the formula but I've tried just about every variation of sumif/ifs that I could find. I've just combined it onto one view to make it easier and dumb it down a bit. Thanks in advance

Tags:

Best Answers

  • Georgie
    Georgie Employee
    edited 10/02/24 Answer ✓

    Hi @Amy Merrill,

    For your Males2 column, try this: =SUMIFS({Males}, {Number}, [Number2]@row). This assumes your data is still on 2 different sheets - so the {Males} reference would be the Males column in Sheet 2, and the {Number} reference would be the Number column in Sheet 2.

    You can then use a very similar formula in your Females2 column, but create a reference to the Females column in Sheet 2 instead, eg: =SUMIFS({Females}, {Number}, [Number2]@row)

    Does that make sense? Here are some resources that may help you:

    Hope that helps!

    Georgie


    Need more help? 👀 | Help and Learning Center

    こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions

  • Amy Merrill
    Amy Merrill ✭✭✭
    Answer ✓

    Thank you Georgie for taking the time to assist. The formula didn't work out and my data is on 2 different sheets so I'm having to reference another sheet. So how I entered this formula is =SUMIFS({Sheet Range1},{Sheet Range 2}, [Number]2row). Sheet range 1 is males, range 2 is number

Answers

  • Georgie
    Georgie Employee
    edited 10/02/24 Answer ✓

    Hi @Amy Merrill,

    For your Males2 column, try this: =SUMIFS({Males}, {Number}, [Number2]@row). This assumes your data is still on 2 different sheets - so the {Males} reference would be the Males column in Sheet 2, and the {Number} reference would be the Number column in Sheet 2.

    You can then use a very similar formula in your Females2 column, but create a reference to the Females column in Sheet 2 instead, eg: =SUMIFS({Females}, {Number}, [Number2]@row)

    Does that make sense? Here are some resources that may help you:

    Hope that helps!

    Georgie


    Need more help? 👀 | Help and Learning Center

    こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions

  • Amy Merrill
    Amy Merrill ✭✭✭
    Answer ✓

    Thank you Georgie for taking the time to assist. The formula didn't work out and my data is on 2 different sheets so I'm having to reference another sheet. So how I entered this formula is =SUMIFS({Sheet Range1},{Sheet Range 2}, [Number]2row). Sheet range 1 is males, range 2 is number

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!