ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Use a shape as a gauge. (https://www.excelbanter.com/excel-programming/427988-use-shape-gauge.html)

Mike K

Use a shape as a gauge.
 
Oh Wise Ones,

How can I use a shape as a gauge? I couldn't get a chart to not look
like a chart. I want to indicate the contents of a cell - lets say A1 as a
percentage. So if A1 contains 50 the shape is half full etc. It's not quite
a progress bar, but would look like one. Horizontal if possible.

Thanks,
Mike

Bob Phillips

Use a shape as a gauge.
 
One very simple way

=REPT("|",A1)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Mike K" wrote in message
...
Oh Wise Ones,

How can I use a shape as a gauge? I couldn't get a chart to not
look
like a chart. I want to indicate the contents of a cell - lets say A1 as
a
percentage. So if A1 contains 50 the shape is half full etc. It's not
quite
a progress bar, but would look like one. Horizontal if possible.

Thanks,
Mike





Mike K

Use a shape as a gauge.
 
Thanks Bob! That's really slick. I was kinda out of free cells but I'll find
a way to wedge it in there.

Thanks again,

Mike

"Bob Phillips" wrote:

One very simple way

=REPT("|",A1)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Mike K" wrote in message
...
Oh Wise Ones,

How can I use a shape as a gauge? I couldn't get a chart to not
look
like a chart. I want to indicate the contents of a cell - lets say A1 as
a
percentage. So if A1 contains 50 the shape is half full etc. It's not
quite
a progress bar, but would look like one. Horizontal if possible.

Thanks,
Mike






Eric G

Use a shape as a gauge.
 
Here's a good example of using a chart to create a guage of sorts:

http://www.andypope.info/charts/gauge.htm

There are others out there that look more like progress bars, etc. Just
Google something like "+excel +gauges +vba" and you'll find some good
examples.

HTH,

Eric



All times are GMT +1. The time now is 08:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com