-------------------------------------------- On Wed, 2/8/17, Paul Schreiner <schreiner_p...@att.net> wrote:
Subject: Re: $$Excel-Macros$$ Formula help needed To: "excel-macros@googlegroups.com" <excel-macros@googlegroups.com> Date: Wednesday, February 8, 2017, 2:29 PM The Match() function will return the relative column for the date matching the header.So: Your array of data is in E1:AI1 and if you're looking for the date in cell C1, you would use:MATCH(C$1,$E$1:$AI$1)(the "$" will be necessary for when you copy the formulas) In this case, the function returns 31, which is the number of columns beginning from column E.The index() function starts with the entire array of data (E1:AI7)and uses a row,column offset into this array. In cell C2, use the formula:=INDEX($E$1:$AI$7,ROW(),MATCH(C$1,$E$1:$AI$1)) the row() function returns the current row.You can then copy this function to the rows in column C and D. Paul----------------------------------------- “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley ----------------------------------------- On Tuesday, February 7, 2017 10:34 AM, Amit Desai (MERU) <amit.de...@merucabs.com> wrote: #yiv0040706336 #yiv0040706336 -- filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} #yiv0040706336 filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} #yiv0040706336 p.yiv0040706336MsoNormal, #yiv0040706336 li.yiv0040706336MsoNormal, #yiv0040706336 div.yiv0040706336MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;} #yiv0040706336 a:link, #yiv0040706336 span.yiv0040706336MsoHyperlink {color:blue;text-decoration:underline;} #yiv0040706336 a:visited, #yiv0040706336 span.yiv0040706336MsoHyperlinkFollowed {color:purple;text-decoration:underline;} #yiv0040706336 p.yiv0040706336MsoAcetate, #yiv0040706336 li.yiv0040706336MsoAcetate, #yiv0040706336 div.yiv0040706336MsoAcetate {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;} #yiv0040706336 span.yiv0040706336EmailStyle17 {color:windowtext;} #yiv0040706336 span.yiv0040706336BalloonTextChar {} #yiv0040706336 .yiv0040706336MsoChpDefault {} #yiv0040706336 filtered {margin:72.0pt 72.0pt 72.0pt 72.0pt;} #yiv0040706336 div.yiv0040706336WordSection1 {} #yiv0040706336 Dear Friends, I am stuck while preparing a dashboard. I need auto pickup of data based (in cell highlighted yellow) on model & date from the right side. If I change date (from 31-Jan-17 to 27-Jan-17) the data should change.. I think Index/Match with vlookup should work.. but not sure how to use it.. please help. Best Regards, Amit Desai Contact: - 09867232534 Disclaimer: This message and its attachments contain confidential information and may also contain legally privileged information. This message is intended solely for the named addressee. If you are not the addressee indicated in this message (or authorized to receive for addressee), you may not copy or deliver any part of this message or its attachments to anyone or use any part of this message or its attachments. Rather, you should permanently delete this message and its attachments (and all copies) from your system and kindly notify the sender by reply e-mail. Any content of this message and its attachments that does not relate to the official business of Meru Cab Company Pvt. Ltd. must be taken not to have been sent or endorsed by any of them. Email communications are not private and no warranty is made that e-mail communications are timely, secure or free from computer virus or other defect. -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at https://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at https://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout. .Cerem ca plata sa se faca pentru partida de zi sa se faca la orele 5 seara ca toti sa ne -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at https://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.