ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Complex Formula (https://www.excelbanter.com/excel-discussion-misc-queries/147282-complex-formula.html)

Watty30

Complex Formula
 
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

Bob Phillips

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





All times are GMT +1. The time now is 09:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com