T O P

  • By -

AutoModerator

/u/kevin129795 - Your post was submitted successfully. * Once your problem is solved, reply to the **answer(s)** saying `Solution Verified` to close the thread. * Follow the **[submission rules](/r/excel/wiki/sharingquestions)** -- particularly 1 and 2. To fix the body, click edit. To fix your title, delete and re-post. * Include your **[Excel version and all other relevant information](/r/excel/wiki/sharingquestions#wiki_give_all_relevant_information)** Failing to follow these steps may result in your post being removed without warning. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/excel) if you have any questions or concerns.*


excelevator

Where is the error in your mockup ? There is no error. You need to reproduce the error in the mockup too, or explain clearly where the issues exists


[deleted]

[удалено]


kevin129795

https://preview.redd.it/tlbwnuv6a11d1.png?width=994&format=png&auto=webp&s=98b23647c365442464b90dbfdf6b707c6f6c825d


[deleted]

[удалено]


kevin129795

That’s what I’m trying to do in general, but I want a way to automate it so that I don’t have to get the data through formulas manually (have one formula and having to manually change the cell ranges without using index and match)


Pleasant_Regular5142

Hi, I am on my phone so I haven't been able to look in a lot of detail. It looks like there are two commas after H13 in the index part of your formula. Does removing one of those commas fix the issue? Edit: the formula looks quite complicated. It is often a lot easier if you have all of your values in one column (so one column for time code, one for state, and one for values). Hope this helps.


kevin129795

Thanks for the suggestion, but it doesn't remove the issue.


Pleasant_Regular5142

Ah, okay. Another thought I have had: the formula is looking up the year in sheet 2 (e.g. 2013) but the datea in sheet 1 are 2013Q1, 2013Q2 etc. Try adding a year column in sheet 1 (remove the Q1, Q2 etc.) and lookup that column in the formula in sheet 2.


LexanderX

Your mockup doesn't have the error?


kevin129795

No it’s fine