• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula not populating result in the cell instead can see the formula only

ThrottleWorks

Excel Ninja
Hi,


I have a file, I am trying to write below formula in the worksheet.


=VLOOKUP(L2,'Broker Mapping List'!A:B,2,0)


When I enter the formula, it does not populate the results, instead I see the formula only.


To get the result I have to do Alt D E D F, this gives me the result for vlookup.


The problem is I am entering this vlookup by macro so can not do Alt D E D F.


Can anyone please tell me how to resolve this problem.


P.S. - I am using following code to populate the vlookup.


Range("m2").Value = "=VLOOKUP(L2,'Broker Mapping List'!A:B,2,0"

Range("m2:m" & endrow).FillDown
 
Try setting the Formula property not the Value property using


Code:
Range("M2").Formula = "=VLOOKUP(L2,'Broker Mapping List'!A:B,2,0)"
 
Hui Sir, sorry for late reply.


Thanks for the help, but it is not working after changing to formula also.


Even I write a simple formula like sum manually in the sheet, I have to do Alt D E D F to get the results.
 
Hi Sara, thanks a lot for the help, this is working.

Sorry for late reply, have a nice day ahead.


@Jeff how are you Sir !
 
Back
Top