how to get all the values closer to the left..(with no blank cells in between) ?

pooja2010

New Member
Joined
Jan 17, 2012
Messages
42
Hi,

I have an excel file, lets say

VI V2 V3 V4 V5 V6
S1 87 "B" "B" 78 89
S2 "B" 89 90 33 "B"
S3 "B" "B" "B" "B" 23
S4 78 "B" "B" "B"90

"B" indicates a blank cell here

I need to bring all values closer, without having any blank cells in between (irrespective of the columns). So I need a file as follows:

VI V2 V3 V4 V5 V6
S1 87 78 89
S2 89 90 33
S3 23
S4 78 90

Can anyone tell me how do I achieve this ?
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Press CTRL+A to select all the data
Press CTRL+G
Select Special
Select Blanks
Click Ok
Right click any highlighted Cell - Delete
Shift Left
OK


Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,226,735
Messages
6,192,733
Members
453,752
Latest member
Austin2222

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