#1
|
|||
|
|||
Using If Function
I want to use the IF function to return a value in excel.
Example A1 is equal to X than return Sales in the cell. I tried a number if functions but could not get it to work. |
#2
|
||||
|
||||
Add quotation marks before and after the X, like
=if(A2="X","Sales",0) |
#3
|
||||
|
||||
Marcia, were you able to download the OP's attachment?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
#4
|
|||
|
|||
Thank you. it worked.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Restrict Editing function disable insert textbox function | IanM_01 | Word | 5 | 11-21-2015 02:29 AM |
#REF! Error in calling VBA function disappears when function is copied | lcaretto | Excel Programming | 2 | 05-26-2014 07:19 PM |
Creating a graph for Future Value function (FV function) | bmoody | Excel | 2 | 11-06-2013 10:52 AM |
Sum Function | teza2k06 | Excel | 3 | 02-06-2013 08:29 AM |
how to use now() function | gsrikanth | Excel | 1 | 01-07-2012 01:18 AM |