Excel formula to skip a cell, multiple conditions

mattyblueice

Board Regular
Joined
Jul 24, 2014
Messages
87
Office Version
  1. 365
Platform
  1. MacOS
Happy New Year!! I have a sheet with 3 columns filled with data and I am trying to consolidate that data vertically. For example,

Column A Column B Column C
Planning Research Testing

I want to create a formula that looks at each cell and in Column A and if there is a value than return the column header in Column A (Planning). I want this to continue for every cell in column A and if it reaches a blank, then to skip to column B and perform the same analysis, then skips to Column C, performs that same analysis and when it reaches a blank in column c then to stop.

I am not sure how to do this and would appreciate any ideas!

Thanks

Matt
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Can you post some sample data along with expected results.

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
1704472763075.png

Here is a sample. Unfortunately my company restricts Excel add ins
 
Upvote 0
Ok, how about in E4 only
Excel Formula:
=TOCOL(A4:C100,1,1)
 
Upvote 0
That worked in bringing in the values from column A, but not the others. I entered as an array (Ctrl-Shift-Enter)
 
Upvote 0
Don't enter it as an array formula, you don't need to do that with 365.
 
Upvote 0
Are you trying to put it into a table, or just a normal range?
 
Upvote 0
In that case clear out all cells below the formula.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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