Microsoft
Software
Hardware
Network
Question : write a IF_And_Then, OR statement correctly
Hi everyone,
I have a pesky little conditional statement that is supposed to check for two possibilities and perform a calculation based of its findings, or if it did not find either possibility then return a "", null value.
Here is the line: =IF(AND(O7<>"",I7="sell"),
K7-O7),IF(
I7="buy",O
7-K7,"")
The statement is supposed to check "O7" and if it is <>"" then check to see if iit is "Buy" (if tthe calculation is positive it colors the row green, if negative it is colored red) or "Sell" and perform the proper calculation, if neither is true the cell should remain blank and the row uncolored.
Thank you for your consideration.
Answer : write a IF_And_Then, OR statement correctly
You might consider testing O7 by itself:
=IF(O7="","",IF(I7="sell",
O7-K7,IF(I
7="buy",K7
-O7,"")))
Random Solutions
Renaming Tables in Access without affecting desing grid queries
Group policy- prevent to save on the desktop
Excel Chart copying
Need to insert a formula into a text string in Excel
Need to know how to set a cell to blank when the value is an integer like relace 0 and 0.00 with a blank
How to avoid page refresh on a button click
Can't print to the local network printer while access office through Windows VPN (RAS)
OCS Federation with Microsoft
On logon an explorer window opens to 'Netlogon' from the DC
Running runas from batch script to launch remote support does not work however from Start > Run there is no problem...any ideas how to make this work?