How To Capture Data From One Cell To Another Based On Another Cell Value

Apr 18, 2014

i am in need of the following.

A B C

9.30am 120 120
9.31am 119.9
9.32am 119.8
9.33am 121
9.34am 120.9
9.35am 120.8 120.8

Here A and B value is keep on changing from external source, when A1=9.30am, the B1 value 120, then C1 should capture the B1 value and stored in it. like wise it captured and stored for every 5 minit or as per requirement.

View 9 Replies


ADVERTISEMENT

Macro To Capture Data From A Specific Cell Upon Selection Changes

May 22, 2007

I'm trying to do is definetly simple to a lot of you, but I'm struggling on how to get started. I attached a workbook that clearly shows my work! I'm almost there but not quiet. Basically the user will be able to make a slection that will be used to lookup values from a different sheet. Each selection triggers a ranking number at the bottom (red pattern) in the worksheet. Now I would like to capture all scenarios and display the ranking.

View 4 Replies View Related

Capture And Calculate Data Based On Work Week In VBA Or Formulas

Jul 21, 2014

I have a requirements to capture the data and calculate the qty based on the defined work week. How to to this in vba macro or a formulas. I'll giving a sample data as reference. In my sample data i have already the formulas
but i wanted to automate the work week calculation specially if the number of days in a month has been change.

Btw, the values of every column is came from other worksheet. i copy paste this data as my sample.

For ex : Today is July and it has 31 days, the 31 days will be distributed to the defined workweek and calculate the contents of the corresponding column.

here is the distribution of columns per week as reference.

(31 days)
wk1 - Day1 to Day8 (8 colums)
wk2 - Day9 to Day16 (8 colums)
wk3 - Day17 to Day24 (8)
wk4 - Day25 to day 31 (7) columns

(30 days)
wk1 - Day1 to Day8 (8 colums)
wk2 - Day9 to Day16 (8 colums)
wk3 - Day17 to Day23 (7)
wk4 - Day23 to day 30 (7) columns

View 1 Replies View Related

Capture And Keep Cell Value?

Aug 1, 2012

I have a workbook where data is constantly changing

If two cell values become equal I want to capture and keep the value that was in another constantly changing cell at that time

The IF argument will only caapture the moment and then return to the IF False command

View 2 Replies View Related

Capture Some Characters Within The Cell

Dec 17, 2008

i have a long text in A1 field and i just need to capture some characters in between. Below is the example.

Raw Data:
Cell A1 (r1,c1) = Target: ABC, CustomerOrder, Results: BDE, LastUpdate: 12Dec08

I want to get the Result as below:
Cell A2 = Target: ABC Cell B2 = Results: BDE

Can this be done in Excel Cell format? Or do i need to do it in MS Access?

View 8 Replies View Related

Capture Just Last Name In A Cell Containing First Last And Sometimes Middle

Jan 10, 2013

I want to extract just the last name from a cell that contains the full name and put just the last into a seperate cell.

WHAT I AM DOING: i copy the contents of a internal screen onto a spreadsheet that i use to check various peices of info and calculations. when i save I like to save my sheet with the last name and then acct number. The internal system screen combines the customers names into a single cell. Right now i have to type the last name into a new cell and have a simple save macro that concatenates that last name with the acct number and saves it into the appropriate folder.

The field i am pulling from is always formatted with FIRST NAME then MI (IF PROVIDED) and then LAST NAME. So when i dump the screen contents into excel A20 may be MIKE SMITH, or MIKE T SMITH. so i need something that looks backwards in the cell and stops at the first space and dumps SMITH into another cell of my choosing (B1 in this case)

View 4 Replies View Related

Capture Timestamp Of Last Update Of Cell In A Row

Jul 5, 2012

How to modify this code so that I select only one column triggers the time stamp update? For e.g. if i make any changes in column A, the date stamp is updated in the corresponding cell in column B. Basically, I am trying to narrow down to only one cell in the row, but it should work for any row in the sheet.

Refer to the below post: [URL] ....

VB:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Row > 1 Then Cells(Target.Row, "B") = Now()
End Sub

View 2 Replies View Related

Capture Cell Value Before Change Event

Mar 3, 2009

I am trying to capture the value of a cell before a change even. The attached Macro will report the value before the change but does not store it so that I can use it in another module. What I am trying to do is capture the value before the change and then look that value up in another worksheet (in the same workbook) so I can make the same change in the second workbook.

The values will always be in Column B and will always be string characters.

The code I am using for the change event is as follows: ....

View 8 Replies View Related

Periodically Capture Cell Values

May 6, 2009

I would like to know how to capture a cell value at a specific date each month in a situation where this cell can change value as it is a formula. For example, the cell returns a percentage that is derived from other data that can change regularly. It may be 45% today, but a user may alter other data in the spreadsheet and it could be 67% tomorrow (or any other percentage).

I want to graph a monthly trend of how this cell value changes by capturing the cells value on the 20th day of every month, or it would also be ok to work on a periodic snapshot of every 30 days.

View 5 Replies View Related

Capture And Display RGB Value Of Cell Interior

Oct 9, 2012

I'm trying to write a routine that will display the Red, Green and Blue RGB properties of a cell's interior colour.

I found the following function:

Code:

Function SingleColorFromRGB(colorWanted As String, RGBValue As Long) As Long
Dim rColor As Long, gColor As Long, bColor As Long
If RGBValue < 0 Then GoTo ReturnError
rColor = RGBValue Mod 256
RGBValue = Int(RGBValue / 256)
gColor = RGBValue Mod 256

[Code]...

How I should call this function in a worksheet, or failing that, come up with something better e.g. a message box that will display the numeric values of each RGB property for the selected cell, or a single cell worksheet name?

View 3 Replies View Related

Capture/Display Cell Formula

Apr 4, 2008

How do I capture a formula from a cell? I want to create a macro that takes each reference (let's say 'B4') and changes it to if(B4=0,0,B4).

View 8 Replies View Related

Capturing Value From One Userform To Another Or Macro Without Using Cell To Capture?

Oct 31, 2012

i have used two form and a macro in a workbook. First one captures data via text box. This data is captured in a cell. Form two adds a new sheet with the name that is captured in a cell, then perforns some task in the newly created sheet. Macro does the formatting of the newly created sheet and saves the sheet. Again when i reopen the the workbook the value is captured in next blank cell and the procedure follows. This works fine as far as there is a single. But not in case of multiple user at the same time. Is there a way to directly capture the value to form 2 and macro so that multiple user can work on the same time.

View 3 Replies View Related

Using Scripting Directory To Capture Value Of Cell Before Change

Feb 13, 2014

I have date values in a range of cells, and have named the range "ChangeRange".

How would I:

1. loop through the range to store the current value of each cell in a scripting directory?
2. use vba to compare the values in that dictionary to the current value of the cell when it changes (NOTE: the change is by formula, not by manual insertion of a new value?
3. write that old cell value in the cell immediately to the right of the cell when it changes and update the dictionary value with the "new" old value?
4. do this for more than one range of dates on the same page?

View 2 Replies View Related

Refresh Input Cell And Capture All Outputs From Each Loop

Jul 10, 2014

Assuming I have three worksheets:

1) input: col A has a series of product code (string)
2) calculation: where I want to automatically copy and paste each product code from "input" worksheet into "calculation" cell B4, and through many steps of calculations, return the outputs in cell B8 and B9 (parameters are numeric)
3) output: how to automatically record B8 and B9 from "calculation" sheet to this sheet Row 5 and 6 from each loop? (format of output doesn't really matters)

View 4 Replies View Related

Excel 2010 :: Copy Data From One Cell Based On Color Of Another Cell To Different Worksheet

Jan 30, 2014

I have an Excel 2010 spreadsheet consisting of many worksheets (20 or so). Each of these worksheets contain detail level data regarding different projects. One of the columns in these worksheets is the 'Status' column (column F). There is conditional formatting on this column where if the text is 'G' then change background to a green color, 'Y'=yellow, 'R'=Red and 'U'=Grey.

The first worksheet is a summary sheet that I would like to pull information from each of the detail worksheet's columns B, D, E, G and H if the status column (Column F) is 'R' or 'Y'.

The number of rows in the detail worksheet can change each week (as few as 0 and as many as 100)

View 2 Replies View Related

Excel 2010 :: Repeat Cell Data Based On Another Cell Column Dragging Down

Apr 24, 2014

Formula that will repeat a cell number as it drags down and as soon as the number changes. I am using helper column that shows the cell number. I need to drag this down about 1000 rows.

Excel 2010
A
B
C
1
Helper Column
Desired Result

[Code].....

View 6 Replies View Related

Replace Cell Contents Based On Matching Data In Another Cell (On Another Sheet)?

Apr 28, 2014

I am working with a spreadsheet that has our user data; User(First) Name, User(Last) name, Computer Name, MAC address, Phone Number, Seating Position and Network Port Number.

I have let this get horribly out of sync, moved computers around, and moved them while the MAC address column was hidden, As a result, I have a bunch of users listed as being at the wrong computer. I have a second spreadsheet I generated that gives me the logged in user for about 2/3 of my computers, with the computer name(Just 2 columns, 'A' and 'B'. I would like to have Excel match the computer name and then overwrite the user name. For example, if the first computer in my correct user list is DELL-99945ty2, and the user name is "Jimbo Jones", I would like it to search the first Excel doc(The one with all of the user data), and replace the user name with "Jimbo Jones". Is this simple and straightforward?

In my main spreadsheet, the user name is in column B and the computer name is in column G, So I want to use the values from Column B in my second document to find its match in Column G of the first spreadsheet, and then replace the data in Column B with Column A in the first spreadsheet.

View 5 Replies View Related

Disable/enable A Cell Based On A Condition Which Is Dependent On Other Cell Data

Jan 26, 2007

how can we disable/enable a cell based on a condition which is dependent on other cell data

View 4 Replies View Related

Using A Formula To Populate A Cell With Certain Data Based On Content Of Another Cell?

Jul 7, 2014

I am currently trying to create a spreadsheet whereby if I enter certain text in a cell in Column A on worksheet 1 that correlates with text in a cell in Column A on Worksheet 2, then the description in Column B in Worksheet 2 is entered into Column B on worksheet 1.

For example, if worksheet 2 has the following:

Column A Column B
XXXX PRODUCT 1
YYYY PRODUCT 2

and I enter XXXX in column A on worksheet 1, I want Column B on worksheet 1 to automatically enter PRODUCT 1.

View 5 Replies View Related

Getting Cell Data From Another Sheet Based On Current Cell Data?

Jan 12, 2014

I want to do (seemingly easy task) of getting a price from a code, from a code sheet.

EXAMPLE:
Sheet1 (Log sheet)
A1 = "Code456"
A2 = $? <- This needs to be found.

Sheet2 (Price Sheet)
A1=Code123 B1=$1
A2=Code456 B1=$2
A3=Code789 B1=$0.50
Etc, and so on...

What I want to do is basically (without using macros):
"If A1 = sheet2:A1, then
A2 = sheet2:B1, halt. , ELSE,
If A1 = sheet2:A2, then
A2 = sheet2:B2, halt. ELSE,
So on and so forth..."

I thought there might be an easy way to do it with some sort of 'double sided' data validation drop downs or OFFSET function but I cant figure it out.

View 3 Replies View Related

Return A Value In One Cell Based On Part Of Data In Another Cell

Jan 22, 2014

i have a column of data part number part text e.g 7w1,8b1 in the next column i want to write a function that will look at the other and dependant on whats in it place a word e.g. for 8b1 i need it to look at the "b" and enter beauvale if theres no "b" but a "w" enter wollaton, i have tried an if function and used "*b*" but it doesnt seem to like wildcards ....

View 9 Replies View Related

Formula For Cell Fill Based On Data In Another Cell?

Dec 20, 2013

How do I write this formulae ??

For cell range M6:AV6 fill with N/R If the data in cell D1 = Wont have

View 5 Replies View Related

Retrieve Data From A Cell Based On Date In Another Cell

Feb 22, 2014

In the attached spreadsheet I need a formula to extract the value from column C that matches the date in Column E where the date in column E is equal to or falls between the dates in Columns A and B.file now attached.

View 4 Replies View Related

Conditional Format Cell Based On Data From Another Cell

Nov 11, 2012

Can I conditions format a cell based on data from another cell?

View 8 Replies View Related

Referencing Cell Based Upon Data In Another Cell?

Feb 5, 2013

In cell H1, I want to multiply the value in cell B[x] by $G$1 where x is given in cell A1. For example, if A1 is 4, I want to to multiply B4 by $G$1 and have the result in H1.

View 2 Replies View Related

Copy Cell Data Based On Value In Another Cell

Nov 28, 2012

I have values in column C1:C10 that are 8,9 or 10 (representing the months of August, Sept, and Oct). I need to copy a value that occurs in column I if the value in the same row in column C is 8.

E.g. if the value in C1 is 8, then copy the data in I1 to a separate column, and so on for each row in column C.

View 1 Replies View Related

Lookup Data In Row & Cell Based On Data In Row And Cell

Feb 4, 2008

I am looking for a way to do what i would call a dual vlookup.

i have some data in a number of sheets and need to do some consolidation into a summary sheet. problem is, not all the sheets have data in the same columns and rows but all the data is the same.

what i am trying to do is something like

vlookup("a",sheet2!A:M,***need to put the column of the data here***,0)

i cant just put in the column number because it changes on each sheet, need some way to do another lookup there, like an hlookup or something, so that i could lookup which column contained 'sales' and return that number so it can be put into the vlookup.

View 9 Replies View Related

Capture Values Based On Number Of Columns?

Jun 7, 2012

My data comes from 3 different sources

Source A = 4 columns (3rd one is important)
Source B = 8 columns (3rd one is important)
Source C = 5 columns (4th one is important)

Is there a slick way to capture values based on the number of columns in that row?

View 1 Replies View Related

Compressing Table To Capture Latest Instance Based On Each ID

Feb 6, 2012

I have a table that I am trying to compress to capture the latest instance based on each ID.

For example, let us say this is my data set:

ID___ | Name | Level_ | Score | Date
ID-32 | John | Beginr | 56.00 | 27-Jan
ID-33 | Jill | Beginr | 32.00 | 28-Jan
ID-34 | Bill | Beginr | 78.00 | 28-Jan
ID-34 | Bill | Interm | 39.00 | 29-Jan *
ID-33 | Jill | Beginr | 62.00 | 31-Jan
ID-32 | John | Interm | 61.00 | 02-Feb
ID-33 | Jill | Interm | 67.00 | 03-Feb *
ID-35 | Mike | Beginr | 82.00 | 03-Feb
ID-35 | Mike | Interm | 85.00 | 04-Feb
ID-35 | Mike | Advncd | 89.00 | 05-Feb *
ID-32 | John | Advncd | 24.00 | 05-Feb
ID-32 | John | Advncd | 52.00 | 08-Feb *

From this data set I wish to extract only the 4 entries with a "*" next to them. These entries give me the updated latest status for each student.

So the output table would look like:

ID___ | Name | Level_ | Score | Date
ID-32 | John | Advncd | 52.00 | 08-Feb
ID-33 | Jill | Interm | 67.00 | 03-Feb
ID-34 | Bill | Interm | 39.00 | 29-Jan
ID-35 | Mike | Advncd | 89.00 | 05-Feb

View 7 Replies View Related

How To Capture Streaming Data

Oct 6, 2007

I have streaming data coming into my excel spreadsheet. The data is in 1 cell and its a number that changes almost every second. How can I capture and store this data.

View 1 Replies View Related







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