extract data from multule rows into one row based on certain criteria

bohon79

New Member
Joined
Jul 2, 2015
Messages
45
Good Morning,

Been trying to find a solution to a formula problem but unable to find it and hopefully some can help. Found this forumla online that works great for what i want it to do but for some reason puts a date (1/1/1900) in when the cell its referencing is blank with no date in it. Here is the formula:

=TOROW(FILTER($B$2:$G$496,$A$2:$A$496=A2))

What i am trying to do is take data to consolidate onto on row as is below based on data that is equal. Column A and b will always be constant but c,d,e, will change.:

1682510271753.png


and convert to

1682510371243.png


but as you can see it puts a date in when there is no date. Any help in fine tuning the formula to make sure if a date is blank and show blank would be helpful. Also if there is a way for column b to only show up once rather than everytime that would be great as well.

thank you.
 
In that case can you post some sample data.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,215,480
Messages
6,125,047
Members
449,206
Latest member
Healthydogs

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