Thread: Complex Formula
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips Bob Phillips is offline
external usenet poster
 
Posts: 10,593
Default Complex Formula

Do you mean

=SUM((Sheet2!A2:A20="value1")*(Sheet2!B2:B20="valu e2"))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Watty30" wrote in message
...
I need some help. I am trying to create a formula where I reference two
different cells in one spreadsheet that are in the same row(this is the
critera that I am pulling from on a "Data" page). On a separate tab I
need
to average the numbers that coincide with the referenced cell from the
original tab.

A simple Vlookup formula doesn't work because it only uses one description
as a qualifier.

Please Help