-
Formula solution required
For those who use Index etc. this should be quite straightforward. I'm looking to return the information on the Summary page from the data on the Data page by updating the yellow cell. Note that this cell is custom formatted and has a simple numeric value.
Regards
MD
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
-
Malcolm,
Put this formula in D17:
=SUMPRODUCT((Data!$A$2:$A$54=TEXT(A$13,"#"))*(Data!$B$2:$B$54=A17)*(Data!$D $2:$D$54))
Copy down as needed. This was unnecessarily complicated by the fact that you have your "valuation numbers" on the Data worksheet formatted as text instead of being plain numbers; had they been numeric, the formula could have been:
=SUMPRODUCT((Data!$A$2:$A$54=A$13)*(Data!$B$2:$B$54=A17)*(Data!$D$2:$D$54))
Cheers,
Patrick
-
-
Put this in cell D17 and copy it down.
=IF(ISNUMBER(MATCH(A17,Data!B11:B54,0)),VLOOKUP(C17,Data!C2:D54,2,0),"")
Last edited by Shazam; 02-21-2006 at 10:48 AM.
-
Malcolm,
I think I completely misunderstood the question the first time
This time:
- Add a Name to the workbook, GrabData, which refers to: =OFFSET(Data!$A$1,MATCH(TEXT(Summary!$A$13,"#"),Data!$A$2:$A$65536,0),0,COU NTIF(Data!$A:$A,Summary!$A$13),4)
- Put this formula in Summary!A17: =IF(ISERROR(INDEX(GrabData,ROW()-16,2)),"",INDEX(GrabData,ROW()-16,2))
- Put this formula in Summary!C17: =IF(ISERROR(INDEX(GrabData,ROW()-16,3)),"",INDEX(GrabData,ROW()-16,3))
- Put this formula in Summary!D17: =IF(ISERROR(INDEX(GrabData,ROW()-16,4)),"",INDEX(GrabData,ROW()-16,4))
- Copy Summary!A17: D17 down as far as needed (I went down to Row 45)
Now, when you change the valuation scheme in Summary!A13, the dynamic range will update, and so will the return values in A17: D45.
Patrick
-
Malcolm,
Did you have a chance to check out my latest suggestion?
Patrick
-
Hi Patrick,
This is a "Work" project and I've been off this job for a couple of days. I'll get back to it on Monday hopefully,
Thanks,
Malcolm
MVP (Excel 2008-2010)
Post a workbook with sample data and layout if you want a quicker solution.
To help indent your macros try Smart Indent
Please remember to mark threads 'Solved'
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules