Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

formula not working

Posted on 2015-01-16
3
Medium Priority
?
42 Views
Last Modified: 2015-01-27
I have a formula that simply says

=IF(K2=0,J2,K2)

But it is returning 0 every time

I presume this is because the data is maybe Text Format but have tried changes to Number format.

Is there a solution?
0
Comment
Question by:Jagwarman
3 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 1500 total points
ID: 40554882
You may try to use quotes...
=IF(K2='0',J2,K2)
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 40554897
What do you have in K2 and J2?
0
 

Author Comment

by:Jagwarman
ID: 40554903
The reason was that somehow during the running of the existing Macro it turned off Auto Calc.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question