Transpose Data from one sheet to another

chorina13

New Member
Joined
Mar 23, 2024
Messages
15
Office Version
  1. 2021
Platform
  1. Windows
I have two excel sheets, one being the data input sheet, and the other the calculations sheet.
On the data input, I have attached a copy showing three columns with data (B, actual date of the event, C, the distance in Kms, & D, showing the time.
What I am trying to do is match the date and the distance over the the calculations sheet where the date column shows all the dates for a complete year, and what I am having issues with is I cannot figure out the formula
so as to line the datasheet dates and distance to the calculation sheets date and Distance.
Have attached a short copy of both sheets, so hopefully someone can understand what I am trying to achieve.
Thank you in advance
 

Attachments

  • Excell Calculation Sheet.jpg
    Excell Calculation Sheet.jpg
    183.5 KB · Views: 9
  • Excell RideLog Data Input Sheet.jpg
    Excell RideLog Data Input Sheet.jpg
    174.2 KB · Views: 10

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
This suggestion is all in one sheet, and I've just created my own values instead of manually typing in yours. But, I hope you get the idea.
Please try this:


Book1
ABCDEFGH
1
2DateDistTimeDateDistTime
32024-01-018.9501:02:182024-01-018.9501:02:18
42024-01-0211.0901:13:322024-01-048.8501:07:26
52024-01-0310.3401:14:142024-01-0714.7201:47:19
62024-01-048.8501:07:262024-01-1013.7601:32:28
72024-01-0512.5301:24:122024-01-1313.7201:34:32
82024-01-067.7100:54:49
92024-01-0714.7201:47:19
102024-01-0814.0301:27:58
112024-01-099.5401:08:53
122024-01-1013.7601:32:28
132024-01-117.4900:57:45
142024-01-1212.9301:22:53
152024-01-1313.7201:34:32
162024-01-148.401:00:39
172024-01-158.6900:57:16
182024-01-1614.201:37:33
192024-01-178.9200:58:42
202024-01-1813.8201:43:14
212024-01-197.6400:53:06
222024-01-2014.6801:35:43
Sheet3
Cell Formulas
RangeFormula
G3:H7G3=INDEX($C$3:$D$22,MATCH($F3,$B$3:$B$22,0),0)
Dynamic array formulas.





This will not work if you have multiple distances on the same day, but the formula can be adjusted with a change in the formula
to in the 3rd column.
Excel Formula:
=INDEX($D$3:$D$22,MATCH($F3&$G3,$B$3:$B$22&$C$3:$C$22,0))
 
Last edited:
Upvote 0
I am sorry but am a little confused with your response, I realize that you are using one sheet to give your answer, but your columns C & D at the start would normally empty, with B filled up with the daily date for one year, on another sheet for Calculation, until the date is entered on the RideLog Data Input..
Your columns F, G and H are the known factors in the Ridelog Data Input sheet. What I can not follow is where did the results in Columns C & D Rows 4 & 5, 7 & 8 come from when there is no results or time for those days on the RideLog Data Input Sheet.
I tried your formula a number of ways and keep getting #N/A..
Thanks gain for your help.
 
Upvote 0
I guess I got the input and calculation backwards.

Try this:

Book1
ABCDEFGH
1
2DateDistTimeDateDistTime
32024-01-018.9501:02:182024-01-018.9501:02:18
42024-01-02 2024-01-048.8501:07:26
52024-01-03 2024-01-0714.7201:47:19
62024-01-048.8501:07:262024-01-1013.7601:32:28
72024-01-05 2024-01-1313.7201:34:32
82024-01-06 
92024-01-0714.7201:47:19
102024-01-08 
112024-01-09 
122024-01-1013.7601:32:28
132024-01-11 
142024-01-12 
152024-01-1313.7201:34:32
162024-01-14 
172024-01-15 
182024-01-16 
192024-01-17 
202024-01-18 
212024-01-19 
222024-01-20 
23
Sheet1
Cell Formulas
RangeFormula
C3:D3,C15:D15,C12:D12,C9:D9,C6:D6,C4:C5,C7:C8,C10:C11,C13:C14,C16:C22C3=FILTER($G$3:$H$7,$F$3:$F$7=B3,"")
Dynamic array formulas.
 
Upvote 0
Solution
My pleasure. Thanks for the feedback. My apologies for the confusion.

Best Wishes!!!
 
Upvote 0

Forum statistics

Threads
1,216,309
Messages
6,130,001
Members
449,551
Latest member
MJS_53

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