Excel - Draw Rectangle From Two Data Points?

Sep 5, 2013

I want to put a length in one cell and a width in another. Then have excel draw a square/ rectangle to this size. It could just outline cells, each cell being one inch or any other way.

View 9 Replies


ADVERTISEMENT

Excel 2010 :: Adding Colored Shape (rectangle) To Footer?

Dec 19, 2012

I need to add a colored rectangle or box to a page footer in 2010 Excel.

View 2 Replies View Related

Excel Chart - Move Data Points To Front?

Oct 12, 2013

I have an Excel chart graphing two data records. As the data points cross, one is in "back" and one is in "front". I would like to reverse the current layout. Is this possible?

View 1 Replies View Related

Saving The Dimensions Of A Rectangle Of Data

Feb 4, 2010

I am trying to automate the cleaning and compiling of some data, in fact its quite a lot of data, there will be about 200,000 lines over several spreadsheets.

Determine the width of the data on spreadsheet1
Determine the rows with empty cells at the bottom of spreadsheet1
"now that I know the dimensions of this rectangle"
Copy a rectangle (with the same dimensions as the one on sheet1) of data from sheet2
And paste this rectangle into sheet1...

"This is the point of the excercise, I cannot have any gaps in the data (this includes at the end of a spreadsheet) as it needs to be a continous flow from one shreadsheet to another"

This is what I have done so far... I understand if it is laughable, I've only been doing this a couple of days.

Sub HowMuchSpace()

' No. of columns
Dim bWidthOfColumns
Range(Worksheets("Sheet1").Range(":*", ":*").Cells.SpecialCells _(xlCellTypeConstants).Count).Value = bWidthOfColumns

'No. of rows
Dim lNumOfRows
Range("*:*").Value = lNumOfRows

End Sub

View 9 Replies View Related

Excel 2007 :: Data Points - Filtering Date / Time

Mar 15, 2013

I have a set of data points with date and time shown in the picture. I need to take out all the data point that are at the 30 min interval. Meaning I only want to have the data points hourly only. What can I do to remove the :30 minute datas.

I have tried the find option typing In :30 and getting all the points but then have to replace, which I do not want to do. Need to remove them so they do not show up on the trends ( graphs) I made for them.

This is for excel 2007.

Seems I can't get picture up on the ipad, so the data points look like this

1/1/2012 0:00
1/1/2012 0:30
1/1/2012 1:00
1/1/2012 1:30

And so on for an entire year. Just need to remove the ones with the :30

View 12 Replies View Related

Excel - How To Draw Olympic Rings

Dec 17, 2013

How to draw Olympics rings in Excel?(not by using macros)?

View 7 Replies View Related

Draw Some Polygon With Sides In Excel Cell?

May 30, 2014

I have to draw a polygon of n sides whose , whose length of side will be given in the cells of excel and the diagram should be displayed in excel itself automatically

Like I have A1=5 A2=5 B1=4 B2=3 C4=5

Then diagram should be like in the attachment : Untitled5.png‎

View 2 Replies View Related

Get Random Prize Draw Working With In Excel?

Apr 17, 2014

I'm trying to get a random prize draw working with in excel. My worksheet structure as follows.

A1 person's name
B2 points obtain by the person.

A1 B2
John 10 points
Ken 20 points
Amy 30 points

1st draw. If random number result between 1 and 10 display John wins then delete John's entries.

2nd draw etc... and delete anyone that has already won a prize.

With the following code I found on this forum it partly works. It only randomly select a cell but missing displaying the winner and removing it afterwards.

[Code]......

View 4 Replies View Related

Excel 2010 :: Macro That Will Draw Information From Spreadsheet

Apr 7, 2014

I am new to Excel VBA and am trying to create a macro that will draw information from a spreadsheet. The code i have written so far is shown below:

Sub Event1()
'Dim Event Date As Double
Dim Message As String
Dim Ans As String

' Prompt for Data

[Code] ......

The section i am having issues with is shown in red above.

What i am trying to do is have a message box pop up with the information as shown based on a date being typed into the the original box that pops up (Please enter a date and click on OK). The following message box then displays the required information from the spreadsheet.

View 4 Replies View Related

Can Draw Shapes Or Angles Based On Data

Apr 16, 2008

Can Excel Draw Shapes or Angles based on Data?

I have a radiation Excel file that solves for Radiation intensity using Distance and shielding as reducing factors.

Similar to a circle of light being less intense with distance so is radiation.

I need excel to draw a circle from a point specified based on a value I give.

For example at 1 ft I might have 500 R in 1 hour (life threatening!)

At 16 feet I have about 2 R in 1 hour (not safe for too long)

These circles would be overlayed on an map.

I would like to draw a new circle at various distances, simialar to a bullseye.

I would also like a triangle drawn based on angles and SIN / COS / TAN formulas

Could this be done in VB or preferably without.

View 11 Replies View Related

Using Data Stored In A Variable To Draw A Shape

Jun 18, 2014

I have some code, in one part of it I am storing a number (between 1 and 8) as Integer. Is it possible to reference this variable to draw some rectangles on a sheet, sort of

"If MonitorDetail (this is the name of the variable) .value = 2 then

Here I place the code to draw the rectangle on the page. The macro currently stops at Monitordetail with a error telling me its a "Invalid Qualifier".

View 1 Replies View Related

Points Property Select Multiple Points

May 2, 2007

Is there a way of amending the following line of code so that it selects multiple data points in a data series in a chart (e.g points 14,15,16)?

ActiveChart.SeriesCollection(2).Points(14).Select

View 2 Replies View Related

How To Get Rectangle Blinking Using Loop

Feb 24, 2013

Ive managed to get a rectangle blinking using a do loop. But I need more than one blinking at the same time. Atm when another starts blinking the first stops.

View 2 Replies View Related

Calculating And Graphing A Rectangle

Dec 12, 2009

If I graph a straight line and on several points on this line I want to graph rectangles, how would I calculate the corners of these rectangles.

The rectangles will not always stand 90 degrees on the line. This difference from 90 degrees is in cell L6 The direction of the line is known and the sides of each rectangle is known as well as the center of the rectangle (in meters N or S and E or W). Currently I have the direction of the line in cell L5, the long side of the rectangle in cell L3 and the short side of the rectangle in cell L4. The centers of the rectangles are in rows 1 and 2 of columns M, N, O etc. For instance cell
M1 = 450 (N) and cell M2 = 400 (E). The corners are to be calculated in reference to the values in these cells.

I have been calculating it long hand with a calculator but that takes me a long time and they tend to change things quite regularly. I have to incorporate this with macros that draw the line sition but I have that. Going clockwise from the right top around they would be called corner A, B, C and D.

View 9 Replies View Related

Size Of Rectangle Based On Cell Value

Aug 1, 2008

I want to make a rectangle where the size of it is based on cell value.

View 9 Replies View Related

Color Chart Data Points By Cell Values Of Non-Source Data

Apr 14, 2008

I have a bar chart that was made from table 1 which has the value in it. I have another table, table 2 that has the name corresponding to the value in table 1. I want to color data points in a bar chart with a different color for each name I have in table 2. I also want to give a data label in the data points with the value I have in table 2 instead of the original data label from table 1. Is it possible to do it?

View 3 Replies View Related

Resample Data: Total Number Of Points Reduced By Averaging The Data Not By Simply Deleting One Of Every Four Rows

May 16, 2006

I have several files of data that are from a data logger. The data is broken up by day. Each day has roughly 43000 rows of data, at its sample rate. This has made charting the data a nuisance. Is there a way to resample the data so it fits in the 32000 points excel can chart? In the future I will set a sample rate that will keep the number of points below the 32K per series. I would like to be able to have the total number of points reduced by averaging the data not by simply deleting one of every four rows.

View 5 Replies View Related

VBA Import Picture Change Shape To Rectangle

Apr 5, 2014

I already have the code to import the picture but i would like it to have rounded corner's. The option if you select the picture then tick format, picture shape and it's the second rectangle in. I can not seem to find that particular piece of code for that particular shape. The other comparison is the (reflected beveled, black) option under picture format.

[Code] .....

View 2 Replies View Related

TextBox Turns Into Rectangle When Using AvtiveSheet Shapes

Apr 6, 2014

I have put together a simple example of my problem. There is two buttons and one text-box "TextBox 1". When I use the following code:

[Code] .........

I get one button to hide the textbox and the other to show it. Initially the textbox has the textbox properties (you can type in it) but when I hide it and show it again using the two buttons the textbox becomes like a rectangle shape which I can not type in and can only click.

How do I hide and show the text box whilst keeping it as a text box?

View 1 Replies View Related

Excel 2010 :: Combobox Column Widths Forces Points Instead Of Inches?

Jul 8, 2014

How the heck to work with comboboxes and listboxes.

In entering column widths, I want to do inches. I understand inches. I don't understand points.

The instructions say that it will take whatever is in the User Control Panel: Regional: Number settings. I checked. It is US system. Not points.

MSO 2010. Can I change it to inches or do I need to get used to points?

View 2 Replies View Related

Change Rectangle Colour And Font Based On A Vlookup Value?

Aug 13, 2014

I have an autoshape rectangle which is linked to a cell on my spreadsheet. This cell will auto update whenever i type a number into a different cell (match and index formula).

I want the colour of the rectangle to be green, amber. red or black depending the value my formula brings back. I have managed to do this but the colour does not automatically update. Also when the colour goes black i will need the font in the text box to be white, at all other tines it will be black.

View 12 Replies View Related

Hide Form Button Or Rectangle Based On Cell Value

May 14, 2009

I want to create a button or a rectangle that has a macro attached. However I only want this button to show on the worksheet when for example A1 >=1.

View 8 Replies View Related

Plotting Data With 35 Points?

Jan 25, 2014

I have a data for sedimentation along a pipe. I measured sediment concentrations at different lengths of the pipe, after different intervals of time. So I have 35 concentration values, take at 5 different points along the pipe, at 7 different times. Is it possible to plot a chart with these 35 points, with depth on y-axis, time on x-axis? These 35 points are percent removals (0-100). .

View 4 Replies View Related

Trend Data Points

Dec 14, 2008

What I have is a column (column A) that only has two data entries at any one time.
I need column B to fill in the trend of those two data points.

My problem is I don't know how to deal with the cells that say #N/A. Which is every cell other than the two cells with data.

If I replace the #N/As with say 1, then it messes up the trend data points.

It seems like I need to be using the trend command, but any solution would be welcome.

View 14 Replies View Related

How To Exclude Certain Data Points

Jan 22, 2007

I'm running a query of 30 and 60 days worth of data but I don't want certain dates to be included in the queries. How do I exclude certain dates and at the same time pull in day 31 to include this in my 30 day high or average etc.?

For example:

1/19/2007 4.7
1/18/2007 4.5
1/17/2007 3.8
1/16/2007 4.9
1/15/2007 3.75
1/12/2007 3.75

I want to exclude 1/15 because it is a holiday and it just repeats the data from 1/12. So I want it to pull in the data for 1/12 if I were doing a 5 day query. As I said before I need to do a MAX, MIN, AVERAGE and STDEV of 30 and 60 days but my formulas are skewed because of the holidays.

View 9 Replies View Related

Directional Data Points

Oct 11, 2007

I have a line chart that has 4 points. Is it possible to make the data points point to the next point? If so how can I do that?

View 9 Replies View Related

Hiding Data Points

Oct 12, 2009

I have created a series of charts in excel and the data sources for them are located on a hidden sheet. I need to keep all the charts active as I have set up macros that enable a viewer to automatically change the chart with a click of a button. However the data behind these charts is confidential and I cannot let the viewer have access to the individual data points.

My issue is that when you 'hover' your mouse over the lines on the charts, the various data points can be seen

Is there a way to make these data points hidden when you hover your mouse over the chart but at the same time keep the source data active behind the chart?

View 9 Replies View Related

Graph Min And Max Data Points

Sep 25, 2007

I need to map the names of the companies on the x axis (ANF, AEO, ARO, PSUN) and 5% to 30% on the y axis. Plotted for each company should be the min and max. So two points for each company. How can I plot this data. Underlying data as follows:

MINMAX
ANF18.6%19.8%
AEO7.8%21.0%
ARO6.2%9.0%
PSUN6.1%14.2%

View 3 Replies View Related

SUMIF For Duplicate Data Points?

Oct 25, 2013

I was creating a sales report: See below

Sales for Shook, Emily(131520) Total Sales $160.18
Sales for Clayton, Casandra(131008) Total Sales NO SALES FOR THE WEEK
Sales for Jofery, Rebecca(126310) Total SalesNO SALES FOR THE WEEK
Sales for Brea, Olga(124257) Total Sales$140.21
Sales for Mastro, Rachel(131521) Total SalesNO SALES FOR THE WEEK
Sales for Rodriguez, Blanca(111550) Total Sales $154.33
Sales for Katz, Mary Isabel(126840) Total Sales$269.87
Sales for Kitson, Mackenzie(130466) Total SalesNO SALES FOR THE WEEK
Sales for Blagniceanu, Adriana(126518) Total Sales$161.25
Sales for Best, Jessica(128350) Total SalesNO SALES FOR THE WEEK
Sales for Sanchez, Vanessa(126437) Total SalesNO SALES FOR THE WEEK

The Sales For (Last Name, First Name) was a concatenate I created to give everyone a unique identifier. Than I used a vlookup based on the the sales report to get there total sales

=IFERROR(VLOOKUP(D7,sales2,5,FALSE),"NO SALES FOR THE WEEK")

My problem is say for example: Sales for Sanchez, Vanessa shows up twice on the report stating she has total sales for $40 and $60 how can I get excel to calculate that within my VLOOKUP Function. If there a formula I can use to combine both values. I was think SUMIF is the most likely answer but I'm having problems.

View 2 Replies View Related

Colour Chart Data Points

May 11, 2007

How do i conditionally colour chart data points. This is an example of my data from which the chart is created from.

Salesman A 10
Salesman B 10
US Total 20
Salesman C 20
Salesman D 10
Philipines Total 30

When the chart is created, i would like the country total data points to be in orange while the rest of the data points should remain in white. I tried this code and it returned me an error.

ActiveChart.SeriesCollection("Average of Margin").Points("ID Total").Select
With Selection.Interior
.ColorIndex = 36
.Pattern = xlSolid
End With

I also tried the online F1 help it told me to use Points(Index). However i do not want to refer to the ponint with an index as the number of salesman or country could change. Therefore changing the index points.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved