Help with a forumla

tbcomputerguy

New Member
Joined
Mar 27, 2019
Messages
5
I am trying to get a formula to work. How do i reference a change in cells. As you can see i am copying the range on the left. when there is a change in the headings (A1,A3, A5) etc i would like to to show in N2, N4, N6 ETC. The blank rows on the right are rows i have deleted. I hope i have explained this well.

Capturetable.png
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
if the times are real excel times you could test the A column for text using this code;
Code:
=IF(ISTEXT(A2),A2,"")
If the times are entered as text as well, then you could test the first character for being numeric using this code:
Code:
=IF(AND((CODE(LEFT(A3,1)))>47,(CODE(LEFT(A3,1)))<58),"",A3)
 
Upvote 0
The first formula is wrong as it picks up the time not A1 - the heading. It works if I am using it on one line. But if for instance on N6-N9, the result calculates to the time. they should all calculate to what is in A5. Likewise N13-14 should result in what is on A12. Follow me?

DAve
 
Upvote 0
No, I don't follow you, what I have tried to solve for you is how to detect the change. Your picture of your data isn't clear because it looks like the header is in a merged cell, so I don't actually know what is in which column. You appear to have changed your requirement between your first post and your last.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,715
Members
448,985
Latest member
chocbudda

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