IF command help

Rhodestransit

New Member
Joined
Feb 8, 2011
Messages
41
I want to know how to use if with this problem
I want to have a cell check cell UA3 for a specific name, if that name is found then it needs to add 0.5 to the cell
Example formula in cell a1, to check cell AU3 for a name if the certain name is found then add a value of 0.5 to the a1 cell.
I had =IF(AU3,JimmySmith)+0.5
But it returns 0.5 regardless if the cell has the name or not.
I need this a part of a payroll spreadsheet.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
You would need Tools > Options > Calculation tab, set Iterations to 1 then in A1

=IF(AU3="JimmySmith",A1+0.5,A1)

but a VBA solution may be preferable.
 
Upvote 0
Thanks, That works, do I have to change the iterations for more than one formula like this?
But it does return a value of 1?
and every time I change the name in the cell it adds another number.
 
Last edited:
Upvote 0
The issue im having is if I enter a name in a box then change it the number keeps increasing, it does not go back to a false setting.
 
Upvote 0

Forum statistics

Threads
1,224,538
Messages
6,179,412
Members
452,912
Latest member
alicemil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top