How align text by using shortcut keys

arool.m

New Member
Joined
Apr 12, 2007
Messages
40
Hi,

my name is Arulmohan

Its possible to align text in Left,Right & Centre by using formula
 

Some videos you may like

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
Hi Arulmohan,

You can't do this with formula but it should be quite straightforward to write a VBA routine to achieve what you want.

Can you be more specific about what critieria you want to use to decide the appropriate alignment.

Dom
 

Stormseed

Banned
Joined
Sep 18, 2006
Messages
3,274
In elementary Excel it is not possible using a formula.

However, if you are good with the keyboard then use the shortcut keys:

Select or highlight the cell range to be indented:

Press Ctrl+1 --> A --> Alt+H --> Select Indentation --> Enter --> Enter.
 

Domski

Well-known Member
Joined
Jan 18, 2005
Messages
7,292
Nope. A full list of keyboard shortcuts can be found by entering 'Keyboard shortcuts' into the Excel help search box.

Dom

PS It's polite not to use capitals when typing a message. It makes it look like you're SHOUTING.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,180
Messages
5,594,713
Members
413,924
Latest member
OMGSALESFORCE2

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
Top