ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   pick up particular number from a table (https://www.excelbanter.com/excel-discussion-misc-queries/264613-re-pick-up-particular-number-table.html)

Jacob Skaria

pick up particular number from a table
 
Try the below with data in Sheet1 Col A1:E5 and the query values in current
sheet

H1=04/10
H2="AB"
H3="Mary"

=SUMPRODUCT((Sheet1!B1:E1=H1)*(Sheet1!B2:E2=H2)*
(Sheet1!A3:A5=H3)*(Sheet1!B3:E5))

--
Jacob (MVP - Excel)


"Lowan Chan" wrote:

Hi,

I have below table:

A B C D E
1 04/10 04/10 04/10 04/10
2 AB YZ AB YZ
3 MARY 45 56 16 62
4 PETER 50 48 84 45
5 JOHN 60 78 65 50

How can i get number 45 at B3 when I have reference 04/10, AB, and Mary in
another sheet?

thanks a lot!

--
Lowan



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

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