Hi !
I want to look up last updated price of relative fruit ( Drop down List C2 in Sheet1 )from sheet2 database.
Herewith I am attaching a sample. Can anybody help me?
Thank You.
Raindrop
To Look Up Last Updated Price Of Relative Fruit
-
- Lounger
- Posts: 36
- Joined: 04 Feb 2013, 06:22
To Look Up Last Updated Price Of Relative Fruit
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78531
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: To Look Up Last Updated Price Of Relative Fruit
In E3, as an array formula, confirmed with Ctrl+Shift+Enter:
=SUM((Sheet2!A2:A10=MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)))*Sheet2!C2:C10)
(rest to follow)
=SUM((Sheet2!A2:A10=MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)))*Sheet2!C2:C10)
(rest to follow)
Best wishes,
Hans
Hans
-
- Administrator
- Posts: 78531
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: To Look Up Last Updated Price Of Relative Fruit
In F3, as an array formula (confirmed with Ctrl+Shift+Enter):
=DATEDIF(MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)),I2,"Y")&" Years "&DATEDIF(MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)),I2,"YM")&" Months "&DATEDIF(MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)),I2,"MD")&" Days"
In G3, as an ordinary formula:
=COUNTIF(Sheet2!B2:B10,C2)
=DATEDIF(MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)),I2,"Y")&" Years "&DATEDIF(MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)),I2,"YM")&" Months "&DATEDIF(MAX(IF(Sheet2!B2:B10=C2,Sheet2!A2:A10)),I2,"MD")&" Days"
In G3, as an ordinary formula:
=COUNTIF(Sheet2!B2:B10,C2)
Best wishes,
Hans
Hans
-
- Lounger
- Posts: 36
- Joined: 04 Feb 2013, 06:22
Re: To Look Up Last Updated Price Of Relative Fruit
Solved !..Thank You For Quick Reply Mr. Hans.
Regards
Raindrop
Regards
Raindrop