Has anyone seen plotting data like this?

Kindlysinful

New Member
Joined
Feb 17, 2007
Messages
29
The blue dot moves according to the average width.
The formula looks like this;
=IF([@Width]<10.7,LArrow,IF([@Width]>25.1,REPT(" ",34)&RArrow,REPT(" ",([@Width]-10.7)*2.42)&Dot))
I was just curious how something like this is done.

image.tiff

<attachment></attachment><attachment></attachment>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
I don't see an image to relate to, but the formula is referencing a table column (Width), and L/RArrow and Dot are Named Ranges.

If you have a workbook you can share (no sensitive personal information), then post back with a link.
 
Upvote 0
It's a formula for a variation of an in-cell bar chart. See
https://www.myexcelonline.com/blog/in-cell-bar-charts-with-the-excel-rept-function/

The cell containing the the IF formula might be formatted to use a font different from the rest of the worksheet. I would not be surprised if Consolas or Courier New is used, or one of the W'ding or symbol fonts.

LArrow, RArrow, and Dot are named formulas, each defining text strings or single characters. LArrow and RArrow could be strings of whitespace characters or arrow symbols or triangles.

When Width is less than 10.7 it displays the string =LArrow.

When Width is between 10.7 and 25.1 inclusive, the cell displays a calculated number of spaces and then Dot. The number of spaces is =TRUNC((Width - 10.7) * 2.42).

When Width is greater than 25.1, the displayed string is 34 spaces then RArrow.
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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