Cell reference that pulls value only, not formula

vijaykumar

New Member
Joined
Jan 6, 2014
Messages
24
Is there a way to reference a cell to pull only the value? I have a set of bloomberg formulas in one cell and want the result (hardcoded/values only) to be pulled into another cell.

Thanks,
Vijay
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You can record a macro to copy and paste values. Are you familiar with macros or would you like more help?
 
Upvote 0
Here is some simple code to do this:

Code:
Sub CopyPasteValues()
'
' CopyPasteValues Macro
'
    Range("A1:C3").Select
    Selection.Copy
    Range("E1:G3").Select
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
End Sub

A1:C3 is your source range which contains the formulas.
E1:G3 is your target range which will contain the values.

You can adjust either of these ranges to suit your needs.
 
Upvote 0

Forum statistics

Threads
1,215,005
Messages
6,122,661
Members
449,091
Latest member
peppernaut

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