Solved

formula not working

Posted on 2015-01-16
3
36 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 142

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

825 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