Offset funtion maybe?

dannyok90

Board Regular
Joined
Aug 30, 2016
Messages
106
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:

Some videos you may like

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

KennyGreens

Board Regular
Joined
Aug 8, 2018
Messages
142
Hi, do you mind posting the parts of your spreadsheet? I'm having trouble picturing what you mean.
 

dannyok90

Board Regular
Joined
Aug 30, 2016
Messages
106
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
 

Watch MrExcel Video

Forum statistics

Threads
1,109,429
Messages
5,528,705
Members
409,830
Latest member
KT50

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top