# Copy Formula Result & Paste Value/Result Only

Sep 3, 2006
I created a simple auto numbering function whereby Cell A7 contained =Row()-6, and Cell A8 contained =(A7+1). I then shift, and pasted the contents of cell A8 until cell A600. My aim is to simply copy the increments of 1 - 600 into another column. However when i copy and paste i'm also copying the initial underlying formula ie: =( A?+1), Is there a way to copy the results, not the formula?

View 2 Replies
ADVERTISEMENT
Jun 10, 2014

When I drag my VLOOKUP formula down a column in Excel 2010, the return value copies the formula result from the original VLOOKUP formula result. For example, if the first VLOOKUP returns a value of 0.5, I expect to see 0.5 or 1 in the cell below that one. However, I get 0.5 which is not the expected result for the cell below.

When, I click the fx on the cells below, the expected return values appear in the formula result. After I click OK, the expected formula results updates and now appears in the cell.

I'm not sure what is causing this issue. My computer was updated recently from an old machine to a new one. I have never experienced this issue before.

View 3 Replies
View Related
Oct 19, 2006

I have a macro that imputs data from an external database and puts it into a temporary worksheet. This data has 3 columns (ID, Date, Amount). I am then making another sheet which has X number of tables (one for each ID), with the years being the column headings, and months being the row headings. ie.

| ID X

| +------+------+------+--->

| | 1999 | 2000 | 2001 |

+------+------+------+------+--->

| Jan | $100 | $250 | $300 |

+------+------+------+------+--->

| Feb | $200 | $300 | $200 |

+------+------+------+------+--->

| Mar | $300 | $250 | $100 |

+------+------+------+------+--->

| Sum | $600 | $800 | $600 |

| +------+------+------+--->

| ID Y

| +------+------+------+--->

| | 1999 | 2000 | 2001 |

+------+------+------+------+--->

| Jan | $100 | $250 | $300 |

+------+------+------+------+--->

| Feb | $200 | $300 | $200 |

+------+------+------+------+--->

| Mar | $300 | $250 | $100 |

+------+------+------+------+--->

| Sum | $600 | $800 | $600 |

| +------+------+------+--->

Currently I have a few hidden fields for the DSUM Criteria. I start making the tables. And then filling in table based off of the month and year. Doing so I need 3 criteria:

>= First Day of the Month

<= Last Day of the Month

= ID #

The problem is it takes Excel too long to fill in the 3 criteria fields, calculate the result, copy the result, and place it into the correct place on the table. Is there another way to get this data into the correct tables faster? Instead of using DSUM?

View 8 Replies
View Related
Jan 22, 2010

Is there a way to copy a formula result as the actual value and not the formula,

I can do copy and paste using "value" option but would like an automated formula or code option if possible.

In the example, D4 copies C4, would like D4 to show "AB" and not the formula "=C4"

View 8 Replies
View Related
Dec 14, 2009

I am trying to implement a simple macro. Here is my

Function Age(DOB)

Age = Int((Now - DOB) / 365)

End Function

Sub Macro1()

Age (Selection)

ActiveCell.Offset(0, 1).Select

******

End Sub

The function basically calculates the persons age using their date of birth. What I need to know is how to copy the result of the function into the cell next to the selected one. (The code above only selects the adjacent cell).

View 9 Replies
View Related
Apr 25, 2014

I have excel result sheet which contains students information. i.e. name, subjects and their corresponding marks, grade, percentage etc. So from that sheet I want to print result cards for each students separately from the data (result sheet).

View 4 Replies
View Related
Dec 4, 2009

I have 4 categories A, B, C & D. These are in desending importance, means A is most important and D is least important. Now there could be many A, B, C & Ds listed in a column. The challange is if coulmn contains A anywhere then the result should be A. If A is absent, then search for B, if present anywhere then display the result as B. It doesn't matter how many times A or any character is listed in column. I am attaching a sheet for better explanation.

View 4 Replies
View Related
Jul 1, 2014

I have the following code........

Which I have attached to button in Module 1.

The button is being used to remove duplicate names from a list of names and then copying the result before pasting it into another sheet.

The removal of duplicates works OK but when I try to paste I get a ........

View 2 Replies
View Related
Mar 3, 2014

How can I copy the result of a cell into another cell automatically.

I have a formula that builds a description of a product using the contents of a bunch of cells

I can copy and paste the value but how do i get the cell to do that by itself.

View 2 Replies
View Related
Apr 14, 2008

i have been using a code that "Joe Was" wrote on this forum the code search all cells for a word i type and then copy the rows where the word was found into a new sheet. my problem is that the code overwrites the rows, so only one line is shown even when the result box say it finds 10 results.

Public Sub FindText()

Dim ws As Worksheet, Found As Range

Dim myText As String, FirstAddress As String

Dim AddressStr As String, foundNum As Integer

myText = InputBox("Enter text to find")

If myText = "" Then Exit Sub

Worksheets("Søkeside").Cells.ClearContents

For Each ws In ThisWorkbook.Worksheets......

Do

foundNum = foundNum + 1

AddressStr = AddressStr & .Name & " " & Found.Address & vbCrLf

Set Found = .UsedRange.FindNext(Found)

Found.EntireRow.Copy _

Destination:=Worksheets("Søkeside").Range("A2").End(xlUp).Offset(1, 0)

Sheets("Søkeside").......

If Len(AddressStr) Then

MsgBox "Found: """ & myText & """ " & foundNum & " times." & vbCr & _

AddressStr, vbOKOnly, myText & " found in these cells"

Else:

MsgBox "Unable to find " & myText & " in this workbook.", vbExclamation

End If

End Sub

View 9 Replies
View Related
Aug 7, 2009

I use this code to look for values like V1/V2/V3/V01 in my column. If the cell contains the value, nothing happens, if not, the whole row is deleted.

View 2 Replies
View Related
Jun 22, 2007

I have a workbook consisting of 4 worksheets. Cell B5 in each of three of these sheets has the exact same formula (copy/pasted) referring to data in the other worksheet. In one of the three similar sheets cell B5 shows up as a blank. In the other two, this cell shows up as a zero.

Since the formula in each of these cells is identical, I figured the difference in the way the result showed up was a matter of cell formatting.

The cell format for each of the three is indicated as ‘general’. However, with one of these, the ‘sample’ shown when you view the cell format shows as a blank while the other two show the ‘sample’ as a zero (0). How can I go about making all three cells appear the same, namely a blank?

View 9 Replies
View Related
Aug 1, 2009

I have already an existing formula to get only the amount from the previous cell. From a6 to a30 it contains the word "11/05/09 press release $100", so in b6-b30 this is the formula. =IF(ISNUMBER(SEARCH("press",A6)),RIGHT(A6,LEN(A6)-FIND("$",A6)),"") until b30

the problem is in b6:b30 the 100's were not a number you have to copy and paste to other cells using paste special then values then click the smart tag and convert as a number to get all the total from b6 until b30.

View 4 Replies
View Related
Aug 13, 2009

Is it possible to use the IF formula and if the result is true, to run another formula and if the result is false put a "0" in the cell???

Here is an example...

In cell A1, I have an amount of money.

In cell B1, I have a quantity.

In cell C1, I want to use the following IF formula:

=IF(B1>0;((A1)*(B1)*0.15);0)

At the present time, when I do this, when the result is true, I see ((A1)*(B1)*0.15) in the cell instead of what that formula should give.

View 4 Replies
View Related
Aug 14, 2009

Column B is basically 550 points + column C = Base Roll.

We need to introduce a cap so no more than 1000 points can be displayed/earned. So column G adds all points & column F caps.

So far it's all ok.

Now when i add a value to column E (points spent) those points are deducted from column G instead of the capped 1000.

Entering a value of 500 displays 800 in column F instead of 500.

View 14 Replies
View Related
Sep 10, 2009

I have a formula that returns a string using the concatenate function. Now I want to copy the string to another cell without copying the formula. The string will become a record in a CSV file. I cannot figure out how to make what shows on the screen a label cell instead of a formula cell.

View 3 Replies
View Related
Feb 14, 2014

How do you write a code that will calculate a formula and output the result in a cell?

For example:

A1 = 1 (Named "Cell1")

A2 = 2 (Named "Cell2")

A3 = Results of macro for Cell1+Cell2 = 3

Is there a way to write it if I also want B3 = B1 + B2 and C3 = C1 + C2, etc.

View 6 Replies
View Related
Mar 7, 2014

Any way to convert a cell result into value if it meets the criteria or else the formula stays in place

I have same formulas from cell Q17 to Q1000 some of those cell will have different results based on manual inputs that occur daily.

I would like the formula result to convert to value only if greater than -1000 or else keep the formula in place to continue future calculations till it meets the criteria.

View 2 Replies
View Related
Dec 15, 2009

I have a value in Cell A1. Now, I need to be able to enter a number into Cell A3 and upon hitting Enter (or clicking elsewhere), the number I just entered into Cell A3 needs to be replaced with the number I just entered multiplied by the number in Cell A1. For Example: Cell A1 contains the number 1.05. I type 2.50 into Cell A3 and upon hitting Enter Cell A3 reads 2.625.

View 4 Replies
View Related
Feb 27, 2007

copying a formula. Basically i want to paste special a formula result automatically.

I have a if function set up so when 2 days corespond then in the 3rd cell it records the value, however when ever the date changes the value disappears, i can keep the value u there by paste special but i would love to set this up as an automatic thing once a value is recorded it records the value and deletes the formula, or the value doesnt change when the date (thus the condition) changes...

View 14 Replies
View Related
Sep 26, 2007

I have a formula in A1 that I would like to execute from A2. I want the A1 to display the formula (so no "="), but I would like cell A2 to execute the formula in A1.

If A1 contains: "SUM(1+2)", how can I get A2 to display "3" without reproducing the formula?

A1: SUM(1+2)

A2: ????

I suppose I'm looking for something like this:

A2: ==A1

But, of course, that doesn't work.

If I do this it gets close:

A2: ="="&A1

But that returns "=SUM(1+2)" instead of executing the formula.

View 9 Replies
View Related
Sep 30, 2008

I'm working on an evaluating spreadsheet where I give for several items a rate of 1 to 3 and at the end it calculates an average rate. The average rate would range from 1 to 3 as well and their meaning is:

1 - poor

2 - average

3 - good

How can I work on the formula so when the result is equal 1, 2 or 3 it automatically gives in the cell right beside the related legend?

View 3 Replies
View Related
Jan 23, 2012

I have a spreadsheet containing 2 sheets. In cell A3 of sheet 1 I have a formula that generates either a blank or "1". In sheet 2 I have a macro called Index which I would like to run when the formula in A3 displays "1".

Having done some research I know that the worksheet change event does not work with formula changes so have tried the worksheet calculate function but to no avail. I have done a lot of searching but cannot find what the problem is.

View 6 Replies
View Related
May 10, 2012

i am trying to update the name of a worksheet with a formula but cant figure out how to do it.

the formula im using is

"=TEXT(MONTH(TODAY()),""00"")&""08""&TEXT(TODAY(),""YY"")"

basically it needs to return "mm08yy" and insert that as the worksheet name.

i can get it to work for a specific cell by using

Range("A1").FormulaR1C1 = _

but i cant use that when i have Sheet1.Name =

View 2 Replies
View Related
Dec 27, 2006

Is there a function that gives the result of a formula is it was entered in another cell?

For example, if I have named an INDEX/MATCH function, is there a way to get the result of that function if it were entered in an adjacent cell?

View 9 Replies
View Related
Nov 21, 2007

I'm trying to use the sumproduct formula to query 3 columns: I want it to look in column E for either a "P" "C" or an "A", multiply the corresponding numbers in column D and F, and put the sumproduct total in cell C5, D5 and E5 for each formula below. The problem is that I keep getting #VALUE! result. It's because some cells in the range have #N/A in them, but I can't control that.

Here is my formula:

=SUMPRODUCT(--(E9:E70="P"),D9:D70,F9:F70)

=SUMPRODUCT(--(E9:E70="A"),D9:D70,F9:F70)

=SUMPRODUCT(--(E9:E70="C"),D9:D70,F9:F70)

How can I use this formula if for example cells D15-17 have no values or are #N/A?

View 9 Replies
View Related
Jan 28, 2009

The value in A1 can range from 0-10. If the value is 0 I need the result to be 0, if the value is 1-10 I need the result to be the number multiplied by 613.35 plus 29.35 for example =sum(1*613.35)+29.35 or =sum(2*613.5)+29.35.

View 9 Replies
View Related
Jul 4, 2009

I´m not sure if this is possible: if I have an array in a formula, for example ={A,23,1,O,6} is there a way that I can put "A,23,1,O,6" in the cell where the formula is? so that the result of the formula is a concatenation of the elements of the array?

View 9 Replies
View Related
Jul 11, 2009

I am setting up a spreadsheet that we can use with EditGrid online so we can post it in Forums. These will be used to track contracts for NFL players. I have used multiple formulas to do this. The problem is that I need to do this for 32 teams over 10 years. So what I want to do is be able to have a master sheet and then just have the other 32 sheets pull those formulas from the master but use the info on the individual teams sheet. I'll give you some basics.

The first year starts out where you type in a players position, name, contract length and his rating. here is an example of one of my formulas. The very basic first one

=if(D13

View 9 Replies
View Related
Nov 7, 2006

I'm having trouble with the attached example. An earlier member solved the odd-even problem, but I'd only like it to calculate if there is data in columns B to G.

View 7 Replies
View Related