Excel - Vlookup based on date specified

Asked By bm
11-Oct-07 04:04 PM
I'm using Excel for accounting functions and have the I have the following
two formulas: "=MONTH(C6)+3" & "=VLOOKUP(A10,'Schol 2007
(Expanded)'!$A:$AE,$C$5)"

What the formulas do is pull financial information from one tab and insert
them into the respective column on another tab all based on the date of input
I specify.

The first formula looks at the date I specify and tells the Vlookup what
column I want returned.  It works fine if I have the month's columns in the
data tab next to eachother, but what formula could i use if there is 1 gap
between months on the data tab?

for instance, January will still start on column 3 (or "C") as specified in
the first formula, but February doesn't start until column 5 (or "E") instead
of column 4 (of "D")

Thanks,
Excel
(1)
VLOOKUP
(1)
February
(1)
January
(1)
Spacer
(1)
MONTH
(1)
  Pete_UK replied...
11-Oct-07 04:31 PM
Try this instead of your first formula:

=MONTH(C6)*2+1

will give 3 for Jan, 5 for Feb, 7 for Mar etc.

Hope this helps.

Pete
  bm replied...
11-Oct-07 05:04 PM
close...but still not it.  I have 3 columns before the first month starts,
then 1 spacer between each month; so Jan is column D, Feb is Column F, March
is column H and so on.

I could change the amount of columns before the first month starts if need
be...either adding or deleting a row...

I appreciate the help!!!!!
  bm replied...
11-Oct-07 05:06 PM
GOT IT!!!! Thanks....=MONTH(C6)*2+2!!!!!!
  Pete_UK replied...
11-Oct-07 05:13 PM
You did say that January would start at column C, but I see that you
have figured it out.

Pete
  Pete_UK replied...
11-Oct-07 05:14 PM
You're welcome - glad you found out how to do it.

Pete
Create New Account
help
Excel Win7 VirtualStore Weirdness with Excel 2002 and earlier I thought I'd share a weird experience I had today in installer for it - - which registers it as an add-in for all installed versions of Excel - - and tested it. Fine in Windows 2000 in all installed versions of Excel. Boot to Windows XP, fine there too. Boot to Windows 7. Fine in Excel 2010, 2007, and 2003. But Excel 2002 and 2000 were still loading the old version of the add-in. I uninstalled the add-in, made sure it was gone, and reinstalled it. Same problem in Excel 2002 and earlier; still works fine in Excel 2003 and later. I opened the VB editor in Excel 2003 and in Excel 2002
Excel If statement with Vlookup - including ISNA function to compare two columns from different worksheets hi, I need some help creatng an 'IF' statement that contains a 'VLOOKUP' . In Sheet 1 i have an empty column called ROC (Column F) that should contain the 'IF / VLOOKUP' function. This should look up Column B in Sheet 2 and try to match them entry is 5730P; in Sheet 1 Column D, Row 18 the entry is 5730. The 'VLOOKUP' function needs to identify that the first 4 digits are similar, then output the value from. The formula below is working great. I picked up from this website. = 3DIF(ISNA(VLOOKUP(A6, Schedule!$A$13:$E$1463, 3, FALSE)), "Invalid Number", VLOOKUP(A6, Schedule!$A$13:$E$1463, 3, FALSE)) What I need to know if possible is, can another (vlookup or if ) be added to the ending formula to do search on just the first
Excel Converting Excel 2007 Nested "If" Statement to Excel 2003: Overcom = IF(E33< = 250000, (180000*0%)+(E33-180000)*(VLOOKUP(E33, Tax_Slabs_2009, 3))*VLOOKUP(E33, Marginal_Tax_2009, 3), IF(E33< = 350000, (250000*0.5%)+(E33-250000)*(VLOOKUP(E33, Tax_Slabs_2009, 3))*VLOOKUP(E33, Marginal_Tax_2009, 3), IF(E33< = 400000, (350000*0.75%)+(E33-350000 VLOOKUP(E33, Tax_Slabs_2009, 3))*VLOOKUP(E33, Marginal_Tax_2009, 3), IF(E33< = 450000, (400000*1.5%)+(E33-400000
charset = "iso-8859-1" Content-Transfer-Encoding: quoted-printable I Googled for hours looking for Excel save as and activesync problems = before I posted here. The file on the PC is directly regarding issues. Cris, I just noticed that the Save As on the phone is Excel 97 / 2000 and = not even a 2003 version. On my workstation, I saved it as "Microsoft = Excel 97- Excel 2003 & 5.0 / 95 Workbook" before I synced to the phone. I guess I answered your own risk.* * Gregg I have a WM6 device as well, Just created a new Excel Spreadsheet, = File> Save As Only option is Excel 97-2003 format Not real sure what the issue might be - - = 20 Cris Hanna [SBS it and ActiveSync works great for Exchange = stuff, = 20 but I have a problem with Excel files. I have a spreadsheet for my = mileage = 20 that is in Excel 2003 format. I used to use it with my ancient = Palm m130 and = 20 Dataviz