Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
is there anyone who can help me with an average problem.. I want the average of say column F, when 2 conditions are fullfilled, in column A and C. I tried =AVERAGE(IF((A2:A22="X")+(C2:C22="Y"),F2:F22)) with ctrl shift enter, but i cant make it work... thanks, S |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=AVERAGE(IF((A2:A22="X")*(C2:C22="Y"),F2:F22))
Entered with Ctrl+Shift+Enter -- Regards, Tom Ogilvy "s" wrote: Hi, is there anyone who can help me with an average problem.. I want the average of say column F, when 2 conditions are fullfilled, in column A and C. I tried =AVERAGE(IF((A2:A22="X")+(C2:C22="Y"),F2:F22)) with ctrl shift enter, but i cant make it work... thanks, S |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you,
but then I get #DIV/0! Hmmm, what am i doing wrong? Regards sara "Tom Ogilvy" wrote: =AVERAGE(IF((A2:A22="X")*(C2:C22="Y"),F2:F22)) Entered with Ctrl+Shift+Enter -- Regards, Tom Ogilvy "s" wrote: Hi, is there anyone who can help me with an average problem.. I want the average of say column F, when 2 conditions are fullfilled, in column A and C. I tried =AVERAGE(IF((A2:A22="X")+(C2:C22="Y"),F2:F22)) with ctrl shift enter, but i cant make it work... thanks, S |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No no i am sorry, I got it now. My mistake!!
Thank you so much!! Regards Sara "s" wrote: Thank you, but then I get #DIV/0! Hmmm, what am i doing wrong? Regards sara "Tom Ogilvy" wrote: =AVERAGE(IF((A2:A22="X")*(C2:C22="Y"),F2:F22)) Entered with Ctrl+Shift+Enter -- Regards, Tom Ogilvy "s" wrote: Hi, is there anyone who can help me with an average problem.. I want the average of say column F, when 2 conditions are fullfilled, in column A and C. I tried =AVERAGE(IF((A2:A22="X")+(C2:C22="Y"),F2:F22)) with ctrl shift enter, but i cant make it work... thanks, S |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The condition is not met in any pair of cells.
-- Kind regards, Niek Otten "s" wrote in message ... Thank you, but then I get #DIV/0! Hmmm, what am i doing wrong? Regards sara "Tom Ogilvy" wrote: =AVERAGE(IF((A2:A22="X")*(C2:C22="Y"),F2:F22)) Entered with Ctrl+Shift+Enter -- Regards, Tom Ogilvy "s" wrote: Hi, is there anyone who can help me with an average problem.. I want the average of say column F, when 2 conditions are fullfilled, in column A and C. I tried =AVERAGE(IF((A2:A22="X")+(C2:C22="Y"),F2:F22)) with ctrl shift enter, but i cant make it work... thanks, S |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It works fine for me if I have any rows that meet the condition and have
numbers stored as numbers in column F. -- Regards, Tom Ogilvy "s" wrote: Thank you, but then I get #DIV/0! Hmmm, what am i doing wrong? Regards sara "Tom Ogilvy" wrote: =AVERAGE(IF((A2:A22="X")*(C2:C22="Y"),F2:F22)) Entered with Ctrl+Shift+Enter -- Regards, Tom Ogilvy "s" wrote: Hi, is there anyone who can help me with an average problem.. I want the average of say column F, when 2 conditions are fullfilled, in column A and C. I tried =AVERAGE(IF((A2:A22="X")+(C2:C22="Y"),F2:F22)) with ctrl shift enter, but i cant make it work... thanks, S |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi Tom, My mistake I am sorry.
it works just fine now. Thank you very much!! Sara "Tom Ogilvy" wrote: It works fine for me if I have any rows that meet the condition and have numbers stored as numbers in column F. -- Regards, Tom Ogilvy "s" wrote: Thank you, but then I get #DIV/0! Hmmm, what am i doing wrong? Regards sara "Tom Ogilvy" wrote: =AVERAGE(IF((A2:A22="X")*(C2:C22="Y"),F2:F22)) Entered with Ctrl+Shift+Enter -- Regards, Tom Ogilvy "s" wrote: Hi, is there anyone who can help me with an average problem.. I want the average of say column F, when 2 conditions are fullfilled, in column A and C. I tried =AVERAGE(IF((A2:A22="X")+(C2:C22="Y"),F2:F22)) with ctrl shift enter, but i cant make it work... thanks, S |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Average with Conditions | Excel Worksheet Functions | |||
Average with Conditions | Excel Worksheet Functions | |||
Average with Conditions | Excel Worksheet Functions | |||
AVERAGE with conditions | Excel Worksheet Functions | |||
average on 2 conditions | Excel Worksheet Functions |