Match values iin two rows to return the value assocated with one of them

robbieb777

New Member
Joined
Aug 25, 2014
Messages
3
I have a row in one sheet which is the number of pages in a newspaper and a second row in another sheet which lists against each pagination a cost. What I want to do is match the values in the rows and where they match return the cost value. Each pagination has a unique cost but the number of pages in the newspaper can be different each day. I want to return the cost for each day. I can't quite get the HLOOKUP formula to get it to return the correct cost value. Can anyone help?
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
If you provide a sample of how you have the data arranged that should be no problem. My first thought is that your range term in the HLOOKUP might be covering only the pagination values and not also the cost values, which would mean you can't traverse to the next row in that range once you've matched a value.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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