Reply to topic  [ 3 posts ] 
[SOLVED] Excel/Spreadsheet help 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
**Placed here because I'm using OpenOffice on a Mac but my boss is using the same file in Excel on Windows, thus it doesn't really fit into PC Software, Mac Software, or Open Source**

Hi all,

I'm trying to do this in a spreadsheet:
count = 0;
If((a range of cells = 818) AND (another range of cells = Y)){
count++;
}

I reckon it can be done with something like COUNTIF, SUMIF, or a combination of one of those with AND and IF...But I can't see what it is...

Thanks,
Ben


Last edited by forquare1 on Wed Sep 08, 2010 12:32 pm, edited 1 time in total.



Wed Sep 08, 2010 12:02 pm
Profile WWW
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 6:44 pm
Posts: 4141
Location: Exeter
Reply with quote
=IF(AND(condition 1,condition 2),Answer if Yes, Answer if No)

_________________
"The woman is a riddle inside a mystery wrapped in an enigma I've had sex with."


Wed Sep 08, 2010 12:07 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
jonlumb wrote:
=IF(AND(condition 1,condition 2),Answer if Yes, Answer if No)


Thanks Jon, I kept hunting and found this instead:
=SUMPRODUCT(--($Feuil1.$D$4:$D$1987=818);--($Feuil1.$I$4:$I$1987="Y"))


Wed Sep 08, 2010 12:33 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.