Returning Formula without blank cells

Scott93m

New Member
Joined
Jun 26, 2019
Messages
8
I am working on creating a list of students who have not turned in an assignment by staff adviser. I want a list that says Beth, here are your students who have not turned in the assignment. I can get a formula to return the students name by owner, HOWEVER, when a line of data doesn't return a result I get blank cells between the last item returned and the next line that returns data.

In this example I simply want Emiliano to fall in the cell directly below Shadai. However, there is a blank cell below Shadai. How do I prevent these blank cells from appearing? I only want to have cells that are filled in.

=IF(AND($AC4=$U$1,$AH4=U$24),CONCATENATE($AD4," ", $AE4),"") I use this formula to return students names by staff adviser. However, when I drag this formula down it will return cells that do not have text/values as blank cells. I want the list to delete all blank cells. How do I do that?
 
Changing value in F2 to some other owner would change the values
 
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
OH MY GOSH! It's working! Do you have the link to the youtube video that describes this? I want to make sure I understand this better before I use it elsewhere!
 
Last edited:
Upvote 0
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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