Vlookup, Hlookup across tabs

ibesmond

New Member
Joined
Nov 26, 2010
Messages
17
I trying to develop a formula to return a variance amount from using a vlookup, hlookup, match or index.

The is the tab in which the formula would be entered.

DateName
Variance
02/27/15Mike
(99.95)
02/27/15
Beth
(11.07)
02/28/15Ashley
(9.76)
02/28/15Peter
14.00
02/28/15Henry
(14.00)
02/28/15Diane
17.00
02/28/15Chris
(5.01)
02/28/15Jessica
106.00

<colgroup><col><col><col><col><col><col><col><col><col span="6"></colgroup><tbody>
</tbody>

The first problem I am having is that the amounts need to be entered as (99.95) because the column is using with a mail merge. Ideally it would be nice to enter the number as -99.95 or 14 but the amount on the mail merge wouldn't show as (99.95) or 14.00. I tried to convert the format to number and account with () but when the mail merge pulls the data the format is incorrect.

Secondly I have other tabs labelled Jan, Feb, Mar, Etc for each month.

the data looks similar to this...

NameDEPARTMENT1/1/20151/2/20151/3/20151/4/20151/5/20151/6/20151/7/20151/8/20151/9/20151/10/20151/11/2015
David
BAR
Glenn
BAR
Eric
BAR
Larry
BAR (25.67) 15.66 (28.10)
Steven
BAR
Chris
BAR

<colgroup><col><col><col span="4"><col><col><col span="3"><col span="2"></colgroup><tbody>
</tbody>

Each column is labeled for each day of the month, and the rows are labelled the names. I'm trying to determine if there is a formula that I can use to lookup the date and the name and return the amount. For example on 1/4/15, Larry had a variance of (25.67). The last step would be incorporating some way to change the numbers to work with the mail merge. Alternatively, is there a way to change how the mail merge interprets the data.

One problem I see is the formula would have to work across tabs. For instance Larry on 1/4/15 would be on a different tab then 2/19/15 and 3/2/15.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,215,444
Messages
6,124,891
Members
449,194
Latest member
JayEggleton

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