LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Logical function with multiple cells

You're welcome!

--
Biff
Microsoft Excel MVP


"Demosthenes" wrote in message
...
great! thanks again.

"T. Valko" wrote:

Try this array formula** :

=MEDIAN(IF(ISNUMBER(MATCH(B2:B9,C2:C4,0)),A2:A9))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the
SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"Demosthenes" wrote in message
...
Okay, I have a further question. How could you find the median of those
cells? I can't figure out a way to do it.

Thanks!

"T. Valko" wrote:

Try this...

=SUMPRODUCT(SUMIF(B2:B9,C2:C4,A2:A9))

--
Biff
Microsoft Excel MVP


"Demosthenes" wrote in message
...
Hi,

I'm having trouble with the syntax for a logical function. Given, in
A,
B
and C:

1 h f
2 b a
4 c e
2 f
9 e
4 d
6 g
2 a

I want to write a function that sums the numbers in A that line up
with
the
letters in B that also appear in C, and gives one number for an
answer:

13

How can I do that? As near as I can tell, VLOOKUP only considers one
cell
at
a time, and I can't work out the syntax on SUMIF. Anyone have any
ideas?
AmI
missing the obvious answer?


.



.



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help!!! - logical function for someone not very logical ECH123 Excel Worksheet Functions 3 May 11th 09 04:14 PM
Logical Test with multiple cells Deanna Excel Worksheet Functions 2 October 20th 08 03:34 AM
IF Logical Function & Blank Cells Jim Excel Worksheet Functions 1 March 30th 07 02:37 AM
Excel Conditional Formatting color multiple cells for 1 logical LDUNN1 Excel Worksheet Functions 2 October 23rd 06 02:12 PM
Logical Function - Multiple IF statements vnsrod2000 Excel Worksheet Functions 7 February 4th 05 10:42 PM


All times are GMT +1. The time now is 05:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"