Hi All,
Is there a quick way that I can use the INDEX formula on the attached workbook or do I have to manually edit each of the positions in the range?
Hi All,
Is there a quick way that I can use the INDEX formula on the attached workbook or do I have to manually edit each of the positions in the range?
Last edited by Jacolene; 10-19-2020 at 05:48 AM. Reason: Title update
Administrative Note:
We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.
Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).
Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.
(Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Oops, moderator's intervention beat me.
Pete
It's OK now - will accept, although it could be more descriptive.
This is what I posted before:
This is the formula that you have in D10:
=IF(ISBLANK(Project_Data!$E10),"",INDEX(Project_Data!$G$9:$G$250,2,1))
You can simplify this to:
=IF(Project_Data!$E10="","",INDEX(Project_Data!$G$9:$G$250,2))
and then you want the 2 to increment as you copy the formula down, so you could change that to:
=IF(Project_Data!$E10="","",INDEX(Project_Data!$G$9:$G$250,ROWS($1:2))
and then you will be able to copy it down.
In terms of copying across, the $G will remain fixed unless you change it to just G, but then the columns that you want to get data from are not contiguous so you would have to edit them anyway (and you have slightly different requirements, like dividing by 100 in column F). You could use MATCH to determine the column number if the headings are the same.
Hope this helps.
Pete
Thanks, Pete! Works perfectly. Don't mind editing the few columns, beats editing every cell.
Just to understand better, please explain why using "ROWS($1:2))" is working? Can't get my head around why it's working. As I copy it down it changes to ROWS($1:3)), ROWS($1:4)) on the Project_Plan tab.
Thanks for the extra tip on using MATCH. The reason I used /100, is because I changed the format to percentage on Project_Plan, as the Project_Data tab only shows a number.
The other issue also now is, when I delete a row the Project_Data tab, it shows #REF! error on the Project_Plan.
Whereas if I use
=IF(ISBLANK(Project_Data!$E10),"",INDEX(Project_Data!$G$9:$G$249,2,1))
when I delete a row, it automatically update on the Project_Plan tab
This seems to do the trick that works when a delete or add a row.
In D10
=IF(ISBLANK(Project_Data!$E10),"",INDEX(Project_Data!$G$10:$G$249,ROWS($A$10:A10)))
Glad you got it working. Thanks for the rep.
Pete
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks