Offset funtion maybe?

dannyok90

Board Regular
Joined
Aug 30, 2016
Messages
115
I have a horizontal range of values with a fixed starting position

the range could be any length based on months, but the start position will remain the same. E.g.:


A1 B1 C1 D1 E1 F1
5 5 5 5 5 5


The above represents 6 months, 5 hours per month.



Id like to transpose this info to somewhere else in the spreadsheet
I have a similar range with dates above the headers and use the following formula to put the
value in A5 in that location, if the start date matches the date in the header


=IF(AND(BO$6>=$D9,BO$6<=$D9),$K$9,"")


So, on a horizontal calendar I have worked out that 5 goes in this cell, I would now like to
copy the next 5 values over after it.

the formula needs to be dynamic because if the start date changes it will move in the calendar
but the following months will always need to follow it


I hope this explanation gets my point across, its kind of difficult to explain. I'm thinking some sort of
offset function?


Any help appreciated :)


Thanks,
Dan
 
Last edited:

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi, do you mind posting the parts of your spreadsheet? I'm having trouble picturing what you mean.

hi Kenny, yeah sure, I've put it in my google drive https://drive.google.com/file/d/1TbIo-fiJlHM5-r4yMBNuakAfvJ0GvBWy/view?usp=sharing

if you look at tab 000, in cell K9 that's the fixed position I referred to, and in BO9, that's the start of the calendar im trying to transpose to, you can see im a little further forward than when I wrote my first post!

Thanks,
Dan
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,558
Latest member
aivin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top