Hi. I have three columns A1,A2&A3. I want A3 to display "Achieved", "Not achieved" or " ". A3 must reflect "Achieved" if cell A1 is greater than A2. "Not achieved" if less and "blank" if column A1 is blank. Thanks in advance.
Hi. I have three columns A1,A2&A3. I want A3 to display "Achieved", "Not achieved" or " ". A3 must reflect "Achieved" if cell A1 is greater than A2. "Not achieved" if less and "blank" if column A1 is blank. Thanks in advance.
Try This (nested If Statement)
=IF(OR(A1="",A2=""),"",IF(A1>A2,"Achieved",IF(A1<A2,"Not Achieved","")))
What happens if A1 = A2?
(Formula below returns "not achieved" with that scenario)
IF(A1="","",IF(A2="","",IF(A1>A2,"Achieved",Not Achieved")))
Edit
Should be:
IF(A1="","",IF(A1>A2,"Achieved",Not Achieved"))
Last edited by kev_; 07-15-2017 at 05:11 AM. Reason: Misread question...
Click *Add Reputation to thank those who helped you. Ask if anything is not clear
TRY EITHER ONE
IF(A1="","",IF(A1>A2,"Achieved","Not Achieved"))
OR USE
IFERROR(IF(A1="","",IF(A1>A2,"Achieved","Not Achieved")),"Not Achieved")
actually, thats three rows, not columns Rows go down, columns go agross
=if(A3="","",if(A1>A2,Achieved","Not Achieved"))I want A3 to display "Achieved", "Not achieved" or " ". A3 must reflect "Achieved" if cell A1 is greater than A2. "Not achieved" if less and "blank" if column A1 is blank. Thanks in advance.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Thanks Kev. Your formula assisted me a lot. This is how I edited it"=IF(OR(A8="",B8=""),"",IF(B8>=A8,"Achieved",IF(B8<A8,"Not Achieved","")))" and its given me the results I want.
@Syrkrasi
Your post most closely resembles the solution
How about marking the thread as solved @malesala ? (Thread tools @ top of thread)
Last edited by kev_; 07-15-2017 at 03:30 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks