Turning Locations In Cells Into Values

Aug 4, 2009

I am looking to do find the latest date in a list of dates but have several problems:
1) The dates are all in one column on worksheet 1, but are sourced from other worksheets. So even though it looks like '8/7/09', the value of the cell is 'Worksheet2!B4'. This is making the MAX function not work

2) How to deal with the blank cells in the MAX function?

View 12 Replies


ADVERTISEMENT

Pull Unique Values From 3 Locations

Nov 19, 2006

I would like to create a macro which will look at columns A,B and C. Based on A,B and C, I would like the macro to return only the unique combinations. At the same time, I would like columns D and E to perform a sum.

This is the original sheet:

******** ******************** ************************************************************************>Microsoft Excel - Trial19.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutE1E2E3=
ABCDE1A1YES1032B2YES1013C3NO1034D4MAYBE1015D4MAYBE101NJSS*
[HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

This is what the sheet will look like once the macro I would like to create is executed.

******** ******************** ************************************************************************>Microsoft Excel - Trial19.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutE1E2E3=
ABCDE1A1YES1032B2YES1013C3NO1034D4MAYBE202NJSS*
[HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

As you can see, the highlighted areas denotes the changes that were executed through the macro.

View 9 Replies View Related

Program Picks 2 Values From The Same Cell Locations

Jan 10, 2008

The thing is that i have alot of sheets (more than 20) and my program picks 2 values from the same cell locations on each sheet. This leeds to more than 30 arguments in my formula. I am gonna use this for alot of excelfiles constructed in the same way, but with varying order and names on the sheets.

View 9 Replies View Related

Dates - Cells Turning Red

Aug 28, 2008

I have a column of dates and have been asked to turn a cell next to it green, orange or red but I don't think this can be done?

Otherwise is there a way to turn the background of the cell a different colour, am sure there is?

What I need is if for example the date in the column is 01.08.08 then up until 7 days I want it to turn green, between 8-10 days I want it to go orange and over 10 days it needs to go red. Is this possible?

View 9 Replies View Related

Turning On Relative Cells

Feb 3, 2010

I have this formula:
=IF('2010'!R10C2="y",'2010'!R10C3,"")

And I want to be able to drag it down and have the cells update, but all it does is keep the same values.

Is there something I need to turn on or off.

View 9 Replies View Related

Turning Formula Cells Into Numbers

Dec 11, 2008

I populated an XL sheet from another one using a formula. However, in order to use my new sheet I need all the cells to be numbers and not formulas. Is there a way to turn all the formulas into numbers, leaving behind just the numerical value ? Basically like pasting only values, only without having have to paste them somewhere else.

View 2 Replies View Related

If Conditional Formatting (turning Those Cells Off)

Jun 9, 2009

what i want to do is say:

If A1="" then color B1 and C1 black, basically turning those cells off

View 2 Replies View Related

VBA - Copying Hidden Cells Without Turning Off Autofilter

Jul 9, 2014

I am working on a file with different users entering information on different sheets (tracking the status of individual projects and activities). Using the macro below (which I found in the forums), the individual data will be combined on a master sheet. My problem is that some of the users will be using autofilters to filter their own data (for example--filtering to show only the "Open" projects). When I do the copy of the individual data, I want ALL of the data, not just the data that is being shown by the individual filter settings.

At first, I just turned the individual filters off before copying the data. The other users have asked if there is a way around this or alternatively, restore the filter values after the copy.

A key point, there are currently 8 user sheets. Each user is allowed to set their own filters and change them at will-e.g. one day, a user may filter on projects due in Q3, another day she may be looking at all projects closed in 2013.

VB:
Sheets("Combined").Select
ActiveWindow.SelectedSheets.Delete
Dim J As Integer
On Error Resume Next

[Code] .....

View 2 Replies View Related

VBA Copy Cells From 1 Worksheet To Another Turning Out All Wrong?

Jul 16, 2013

I'm just trying to copy certain cells from one worksheet & add them to the next available row on the next sheet, my data is going right down to the end of the sheet though (row 1048554) & instead of placing them on the same row its placing them in the row underneath the previous data in the next column. My code is below & I've included a table at the very bottom of how the data is coming out.

Sub Copydata()

Range("A" & Rows.Count).End(xlUp).Offset(1).Select

Sheets("PO").Select

[Code]....

View 2 Replies View Related

Insert Copied Cells Into Multiple Locations Using Macro

Sep 14, 2009

I've been using the following macro ....

View 8 Replies View Related

Excel 2010 :: Display Cell Ranges From Multiple Locations Based On 2 Cell Values?

Jun 4, 2013

I need to display a set of cells based on the value of two drop down cells i have. As I am not very good at english and worse at explinations, I'll try via screen shots...

I have two dropdowns (C4 and C6) that will indicate what table to use (Second sheet / screenshot). I want that "table" to display in the yellow box on the first page. To complicate matters, some options do not have a CLA option - those starting with X. As there are 24 different outcomes and each is 3x9 if/then statements just dont seem to cut it.

P.S. I have excel 2010 and windows 7

View 1 Replies View Related

Set Locations Using VBA

Dec 5, 2007

I have to manually cut/paste each excel doc which belongs to a specific Store folder, and copy then into their own shared directory, so for example:

Lets say my company has 10 Stores, and I know their online folder locations, the first step I guess would be for me to map the locations of each store, I am not sure what the best way to do this is, would I use the Case select ? to make the set = ?

So for example, Stores 1 - 10.

Set 1 = Dir("Z:Northwest1")
Set 2 = Dir("Z:Northwest2")
Set 3 = Dir("Z:Northwest3")
Set 4 = Dir("Z:Northwest4")
Set 5 = Dir("Z:Northwest5")
Set 6 = Dir("Z:Northwest6")
Set 7 = Dir("Z:Northwest7")
Set 8 = Dir("Z:Northwest8")
Set 9 = Dir("Z:Northwest9")
Set 10 = Dir("Z:Northwest10")

I am not an expert on Case Select, but was thinking:

Select Case myStores
Case Is = 1.......................

View 9 Replies View Related

2.5 Turning Into 02.may

Jul 8, 2008

I have this annoying problem with my excel 2003. And i have no clue at all how to solve this.

Each time i write 2.5 it turns into 02.may. Does any one know how i can fix this?

View 14 Replies View Related

Backup At 2 Locations

Dec 15, 2012

The code below works. Now I need that while it does the backup file in the same location, we also took into C: Backup_Contabilidade. Finally also put the date and time.

VB:
Private Sub Workbook_BeforeClose(Cancel As Boolean) With Application
.CommandBars("Cell").Reset
End With

Application.DisplayAlerts = False

[Code] .....

View 3 Replies View Related

Counting In Different Locations

Dec 14, 2011

i am counting hotels in different area of 1 city

city area hotel_name hotel_name hotel_name
NY st-1 A001 B001 C001
NY st-2 B001 C001 D001
NY st-3 D001 E001 A001

count by checking NY and see how many branches A001 is having in all these areas. (i should get answer 2)

View 6 Replies View Related

Autofill - Turning Off?

Oct 22, 2013

I fill out this form everyday and sometimes need to type "S" and every time it fills in "Sampling Rate #1" because that's what it says in the same column higher up. Is it possible to turn this off somehow?

View 3 Replies View Related

Turning On A Checkbox

Apr 13, 2008

I want to turn on (tick) a check box from within a macro.

View 9 Replies View Related

Turning The Row Gold

Jun 13, 2006

I have a sales and prospects spreadsheet. It has information in columns A to O. The last 3 columns M, N and O, require a 'Y' for Yes or 'N' for No entry. If entering N, the background colour of the cell turns grey using conditional formatting, and if entering Y the background colour of the cell turns Gold using conditional formatting. Column O is headed 'Sold', so that column is onviously the final Y. Upon entering Y in column O, ie the sale is made, I's like it that the whole row, so all cells of that row in columns A to and including O turn gold to easily visually differentiate done deals from prospects.

Also what would be cool is if when a deal is done, it not only turns the whole row gold, but moves the row to the top of the sheet, so by dividing done deals from prospects, that is utopia at this stage though, more important is turning the row gold upon a Y entry in column O.

View 9 Replies View Related

Backup Spreadsheet In Several Locations?

May 13, 2014

I have a spreadsheet on a server, password protected, and certain columns, rows locked...

This is shared with 6 others and can only be accessed one at a time.

If It so that when the user saves the spreadsheet it saves over itself on the server it's located AND on the individual users computer as backup; how would I go about doing this!?

View 3 Replies View Related

One Cell Reading From Different Locations

Dec 1, 2008

the attached workbook, I am looking for M19, N19 & O19 to read from different locations depending on how many cells are called on when info is entered in P8.

View 10 Replies View Related

Resetting Shape Locations

Apr 12, 2012

I have many spreadsheets that use shapes such as arrows and other symbols. The process for these spreadsheets is to move the shape (arrow for Ex) to indicate a specific location of pain or something like that.

Once the arrow is in position, the spreadsheet is printed to PDF and and a snapshot (in adobe) is "taken" and the picture (with the arrow) is pasted into our application.

My questions is how can I move the shapes back into position when you want to do it all over again.

When I have a few shapes I use

PHP Code:

Set sShape = ActiveSheet.Shapes("Right Arrow 6") 2
    With sShape
       .Top = 220
       .Left = 91
       .Rotation = 20
   End With 

For each shape

But if I have lots of shapes, 50+, it's a bit more cumbersome.

Can I loop through the shapes when I enable the macros to pick up the current positions and use that information when I do a reset (loop back again to move any shape that were touched back to where it was when the spreadsheet was opened?

Currently I have them close the spreadsheet without saving and just reopen.

View 3 Replies View Related

Same In-cell Dropdown In Two Locations

May 21, 2012

I made an analysis table that shows a list of prices on a certain company. I have a table on one worksheet and I made a chart (from that table) on another worksheet. I'm using an in-cell drop down list on the table worksheet to change to different companies. Is there a way that I can put the same drop down list on the chart worksheet? Essentially, I want to be able to switch the company on either worksheet and have it change on both worksheets. I'd like to keep the chart and table uniform and running together.

View 6 Replies View Related

Determine Net Displacement Between GPS Locations

Oct 20, 2012

I'm trying to determine the net displacement between GPS locations and am wondering how I can easily code this in Excel. As far as I know, you need to calculate the distance between Point B to Point A, Point C to Point A, Point D to Point A, and so on. The following is the formula that I would use:

A
B
C

X_Coordinate
Y_Coordinate

123456
3700000
Point A

123460
3700010
Point B

Using the following formula (or setup), this is how I would calculate net displacement:

(123460-123456)^2+(3700010-3700000)^2 = (16)^2 + (10)^2 = 256 + 100 = 356

I assume if I want net squared displacement, I would square root this value SQRT(356) = 18.867

If my formula is correct above, I wonder why Excel gives me an answer for the following net displacement formula (same as above just using Excel formula): (A3-A2)^2 + (B3-B2)^2 = 116

Using this same formula, I could incorporate SQRT in as follows: =sqrt(((A3-A2)^2) + ((B3-B2)^2)), which results in 10.77. This value is clearly different than the value above (18.867) thus I wonder if I'm just mis-calculating something in Excel.

View 4 Replies View Related

Preset Tab Locations In Workbook

Sep 10, 2007

i have a User form that i'd like to add preset tabs command locations to.

For example,

on open i'd like the active cell to be on cell M3. and as the user presses the tab button jump to the following cells locations:

P3
Q5
P7
Q7
P9

View 9 Replies View Related

Moving File Locations

Mar 5, 2010

I have to select about 200 odd files from a folder, and move them to a different folder. The problem is, I have to manually select the 200 files from a list of approx 10,000 (not in order).

I have a list of the filenames (with extension) in an Excel Spreadsheet, and I'm wondering if there's a way to automatically move the files using an Excel macro or something?

example:

File location = C:EBDumped
and I need to move the 200 files to C:EBSent

So I would need to move ONLY the files where the file name is in the Excel list.
The file type (extension) is always the same, but the name (and length of the name) is different.

Is this possible using Windows XP with Excel XP?

View 9 Replies View Related

Turning Off The Clipboard Sound

Dec 12, 2007

I recently installed Office 2002 onto a new computer and found that whenever I drag-and-drop any amount of data from one cell to another, a loud obnoxious noise plays when I release the drag-and-drop data.

I was using the same version of Office on my old computer and did not have this problem.

I'm guessing it's a clipboard issue, since when I open the Excel clipboard (where I currently have all options as unchecked) and copy something so it is captured there, the same noise plays.

I already have turned off Windows sounds via the Control Panel and have no clue how to turn off this sound.

View 12 Replies View Related

Turning Decimals Into Millions

Feb 13, 2014

I'm going through financial statements and I would like to be able to run full blown analysis on them. Most public financial reports are written so that a lot of zero's do not take up the useful space. As such (and there is a ton of this solution out there I've found), many people want to take $1,500,000,000 and turn it into 1.5M

I however, do not. I want to convert it backwards. So when something says 5.19 I would like to format it in such a way that it will read (and I can run calculations against it) as 5,190,000,000 (there are no alpha characters, there are instances where there will be negative numbers). Then I could copy this to the 17 different financial statements I've already got rock'n rolling in Excel right now.

View 4 Replies View Related

Turning Off Timer Macro?

Mar 18, 2014

I have the Macro

[Code]....

That starts a timer macro (Recalc) in my excel sheet when the workbook is opened, my issue is that when the work book closes it continues to run.

Will the following macro fix this problem, or is there some command like Workbook_Open() but for closing?

[Code] ....

View 1 Replies View Related

Turning On/Off Picture Refresh

Sep 23, 2009

I have a workbook that has many Pictures created with the Camera command. I have found that VBA macros in any workbook open at the same time as the one with Pictures run very slowly. Is there a way of temporarily turning off the Picture Refresh within the VBA in the same way as you can turn off automatic formula updating.

Keith

View 7 Replies View Related

Turning Data Into Matrix?

Oct 18, 2011

I have 2 lines with pairs and 3rd with corresponding values, nee to construct a matrix out of it with formulas

Example
Need to turn

AAABBDBCDCDC0.30.20.130.550.840.43

into

ABCDA11-0.31-0.21-0.13B0.311-0.551-0.84C0.20.5510.43D0.130.841-0.431

So the one that stands above in the initial file goes to the top line in the matrix. 2 line -> column in matrix. In case there is no match need to seek reverse in 1,2 and reflect as 1-VALUE in the matrix

View 3 Replies View Related







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