Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default An odd question about formatting

Ok, here's a toughie. I have a list of numbers in column A and I would like
in column B a smiliar number of asterisks like this:

4 ****
1 *
9 *********

Any ideas?

Amy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 170
Default An odd question about formatting

Give the REPT Repeat function a try, I think it will fulfill your needs nicely.

"cvgairport" wrote:

Ok, here's a toughie. I have a list of numbers in column A and I would like
in column B a smiliar number of asterisks like this:

4 ****
1 *
9 *********

Any ideas?

Amy

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default An odd question about formatting

=REPT("*",A1)
--
David Biddulph

"cvgairport" wrote in message
...
Ok, here's a toughie. I have a list of numbers in column A and I would
like
in column B a smiliar number of asterisks like this:

4 ****
1 *
9 *********

Any ideas?

Amy



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default An odd question about formatting

On Mon, 18 Jan 2010 08:33:01 -0800, cvgairport
wrote:

Ok, here's a toughie. I have a list of numbers in column A and I would like
in column B a smiliar number of asterisks like this:

4 ****
1 *
9 *********

Any ideas?

Amy


b1: =rept("*",a1)
--ron
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 30
Default An odd question about formatting

Awesome! Thanks!

"JR Hester" wrote:

Give the REPT Repeat function a try, I think it will fulfill your needs nicely.

"cvgairport" wrote:

Ok, here's a toughie. I have a list of numbers in column A and I would like
in column B a smiliar number of asterisks like this:

4 ****
1 *
9 *********

Any ideas?

Amy



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default An odd question about formatting

You got your answers, but here's an alternative that I like:

=REPT(REPT(CHAR(134),4)&" ",INT(A1/5))&REPT("|",MOD(A1,5))

With 7 in A1, you'll see something like:
†††† ||

(nice if you're using Arial--not sure how it'll show up in the newsgroup,
though.)



cvgairport wrote:

Ok, here's a toughie. I have a list of numbers in column A and I would like
in column B a smiliar number of asterisks like this:

4 ****
1 *
9 *********

Any ideas?

Amy


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formatting question driller Excel Discussion (Misc queries) 3 September 26th 09 05:02 AM
Formatting question Philip Drury Excel Discussion (Misc queries) 7 February 2nd 07 03:24 PM
Formatting Question Carey Abercrombie Excel Worksheet Functions 5 February 23rd 06 07:40 PM
Formatting Question M.Siler Excel Discussion (Misc queries) 3 July 18th 05 09:51 PM
Formatting Question Metalteck Excel Discussion (Misc queries) 1 July 15th 05 05:37 PM


All times are GMT +1. The time now is 04:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"