Display Formula Not Formula Result?
May 2, 2012
I have a s/s which is built on IF functions and references other sheets and I have used the s/s in the past without issue. However now I want to ammend the formula a little and excel will only display the formula itself, not the result of the formula. I have tried CTRL ~ to turn on/off the show formula function but this makes no difference.
My reason for changeing the current formula is that I need to turn a 2 (numeric) to 02 (which can be either numeric or text). This is the new formula.
=IF($A4="","",IF(VLOOKUP($A4,HCGTH1_DATA,22)=2,"02",VLOOKUP($a4,HCGTH1_DATA,22)))
Is there an issue with the formula or some setting in excel?
View 6 Replies
ADVERTISEMENT
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
Mar 6, 2014
I am using the below formula to find the latest date (column N) based on fund (column G) and Vendor (column O) reference. How can I find (column I) where the balance of that payment is? I know there are formulas like INDIRECT RC[-1] but how to add them to my formula.
{=MAX(IF(Payments!G:G=B4,IF(Payments!O:O=C4,Payments!N:N)))}
View 1 Replies
View Related
Dec 8, 2009
Hopefully you will be able to help again. Is it possible to do a vlookup that references data on other tabs within the worksheet so that the result of the formula is in the cell not the formula.
So if my vlookup was =vlookup(a2,$a$1:$b$12,3,0) and the result was john smith i want just john smith in the cell. I know about copy and paste values but i was looking for a more automatic way. One that doesn't need intervention.
View 12 Replies
View Related
Nov 15, 2006
Sub startup
Dim numwords As Integer
numwords = WorksheetFunction. CountA("H5:H64")
Range("H1").Select
Selection.FormulaR1C1 = numwords
I have a quick question regarding this simple code thats been drviing me nuts. There x distinct pieces of Data in the range speciifed, but when i run this code, the reply posted in cell H1 is 1, instead of x.
Eventually the code will be built to check if the result is odd or even and then add an entry into the first blank cell if the result is odd.
View 4 Replies
View Related
Jun 5, 2014
I am trying to find a way to display text that is the product of a concatenate function in a defined cell, but not to have the function itself in that cell. Basically, I want to have the below function in cell A1. I want to add a command to it to take the result and display it in cell A2.
=CONCATENATE(C5,"_",'Attachment 3-A'!C9:E9,"_",IF(C5="","",IF(C6="MPL",IF(VLOOKUP(C5,MPL!B:F,5,FALSE)="Lease","Lease_Contributable",
IF(VLOOKUP(C5,MPL!B:F,5,FALSE)="Pre-Lease","Managed_Pre-Lease",
IF(VLOOKUP(C5,MPL!B:F,5,FALSE)="Non-Contributable","Managed_Non-Contributable","Error"))),
IF(VLOOKUP(C5,Sale!B:F,5,FALSE)="Assignable","Lease_Assignable","Managed_Non-Assignable"))))
The reason for this is that I need the cell to be selectable (it is generating a file name that needs to be selected and copied), but I don't want the code behind it to be seen. I can't find a way to make the cell selectable AND hide the formula from being seen when the cell is selected. This is because our people keep copying the formula rather than the resulting text.
I was hoping for something like a DISPLAYIN(target) function, but it doesn't seem to exist.
View 2 Replies
View Related
Mar 17, 2009
Excel 2003.
I have been struggling for an hour how to hide a number to text macro in a way that only macro result is displayed in a cell.
(I have one 2-3 years old xls, where I have managed with task, but now can't figure out how and how to unhide the macro
Can it be password protected somehow?
View 9 Replies
View Related
Jun 10, 2006
I entered a simple formula in a cell =B14*B16 but it won't calculate. The cell only displays the formula and not the result. tell me what I did wrong. I've attached a sample.
View 2 Replies
View Related
Jul 25, 2014
I am trying to write a formula where the column header of the row in which a value other than 0 exists, will display for each instance (row) where a value exists in an array spanning 3 columns. So the result cell could be any of the three column headers, or a combination thereof.
I started the formula in P2 of the GL Detail-2012 tab. File attached.
Here is what I started: =INDEX($M$1:$O$1,SUMPRODUCT(COUNTIF($M$2:$O$67756,))). Not working.
View 7 Replies
View Related
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
Aug 24, 2006
I know this is an easy one but I'm unsure why I can't easily modify a formula. The key event in this formula is "+190". Every time I change the value the formula no longer works. I've copied to another cell and the formula no longer works. My question is when you have a formula like this one if you have to modify how do you do it and keep the formula working.
View 9 Replies
View Related
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
View Related
May 29, 2009
To get cell to display results of formula I must edit (F2) and hit enter. Is there an easy way to do this in bulk rather than editing and hitting enter on hundreds of cells?
Example of formula:
=IF(COUNTBLANK(K2)=1,"",CONCATENATE("*** ",K1,": ",K2," "))
View 5 Replies
View Related
Aug 14, 2006
I have the following formula in cell L51 of all sheets calculating the volume depending on the monthly index that is chosen from the drop down menu in a particular sheet. =If(MIndex=0, SUM(D33:L50),If(MIndex=1,SUM(D34:L50),If(MIndex=2,SUM(D35:L50), 0))). I am getting the following message and I do not understand what it is about.
Microsoft Office Excel cannot calculate a formula. Cell references in the formula refer to the formula's result, creating a circular reference. Try one of the following
View 3 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 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