#value! errors on vlookups

chriswhincup

New Member
Joined
Apr 19, 2023
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Hi, I'm pulling information in from some pivot tables into another sheet so i can work cleaner with the data (they use slicers and I need to be able to graph them) but when I try to divide one column by another i'm getting a #value! error. Its only happening when there is no data in the fields for months in the future. This occurs whether I do a straight M18/J18 calc or whether I try to source the data using the below.

=M18/VLOOKUP(J18,$F$10:$H$21,3,FALSE)

It works fine when there is data in the cells and only happens on future months. All the cells I'm pulling from have vlookup formulas already in them that either lookup the data from my pivot table or return blank fields.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
So, what do you want to happen when this error occurs?
Is it this?
Excel Formula:
=IFERROR(M18/VLOOKUP(J18,$F$10:$H$21,3,FALSE),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,223,228
Messages
6,170,875
Members
452,363
Latest member
merico17

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