# If then on Excel for Mac

#### tpedry1

##### New Member
I have posted a short video below to explain what I am needing to do. Thank you for anyone's help with this (more than likely) simple formula! I am a novice so please be gentle!

Dropdown_List_Data - jattalla's library

Thank you,

Tim

### Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try this formula in cell AF2 on worksheet Blue Mantle Copy. Copy across to cell AG2, and down as needed.

=VLOOKUP(AE2,'Labor Codes'!\$A\$1:\$C\$30,COLUMN('Labor Codes'!B\$1),0)

Correction:

=VLOOKUP(\$AE2,'Labor Codes'!\$A\$1:\$C\$30,COLUMN('Labor Codes'!B\$1),0)

Correction:

=VLOOKUP(\$AE2,'Labor Codes'!\$A\$1:\$C\$30,COLUMN('Labor Codes'!B\$1),0)

Thank you Ben

What is the quick little adjustment that I need to add to the formula to get rid of the N/A?

-- removed inline image ---

I can't see the picture you posted. Are you getting an N/A error in cell AF2?

Thanks a ton Ben! I added the iferror(if(Sum(...,""),"") in there and it took care of my issues!

thanks

You're very welcome.

Replies
4
Views
268
Replies
0
Views
375
Replies
8
Views
332
Replies
14
Views
541
Replies
3
Views
178

1,221,523
Messages
6,160,322
Members
451,637
Latest member
hvp2262

### 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.

### Which adblocker are you using?

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

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