TEXT(MONTH(TODAY()),"mmm") returns Jan

that works.

maybe you can take a look here:
http://www.mrexcel.com/forum/showthread.php?t=566959

this is what i am working on.
and using the 'Flash' report:

=IF(ISNA(VLOOKUP($A2&"*",'[Flash Report FY11.xlsx]report'!$F$4:$HZ$500,151,FALSE)),"NA",IF(VLOOKUP($A2&"*",'[Flash Report FY11.xlsx]report'!$F$ 4:$HZ$500,151,FALSE)=0,L2,VLOOKUP($A2&"*",'[Flash Report FY11.xlsx]report'!$F$4:$HZ$500,151,FALSE)))

of course the value '151' needs to be replaced with something but that is 13 columns over from the start of the June data. and the final VLOOKUP would subtract June from May which is 4 columns to the left of June.

much obliged.
Are you using the MATCH function to generate the column index number for the VLOOKUP?
 
Upvote 0

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
excuse me for not getting back sooner.
i am cleaning up an admin manager's work to make this report easier to deal with.
too many unnecessary links, files etc...
just been staring at these links etc. for the past two weeks slowly tweaking it.

The columns are relative to the range starting at F4

Col1...Col2.............Col?....................................Col151...etc
Oct....Nov.............June................
...........................SubHeader1.....SubHeader2.....Hrs.......etc(17 Subheaders in each month)

so i need to subtract the June Hrs from the May hrs and the May Hrs are 4 columns to the left of the June main header. so it is the value '151', which i put in manually which has to be adjusted. AND the very last VLOOKUP in the formula will be a subtraction: VLOOKUP(June value) - VLOOKUP(May value).
 
Upvote 0
oh wait

i guess i can use a combination of MATCH and OFFSET
find the column MATCH for june then OFFSET 1row, 13columns then
subtract the value 1row, -4columns OFFSET from the MATCH.
 
Upvote 0

Forum statistics

Threads
1,224,598
Messages
6,179,818
Members
452,946
Latest member
JoseDavid

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