John Hellis

New Member
Joined
Dec 2, 2010
Messages
13
Hi

I used wolverineb’s formula
http://www.mrexcel.com/forum/showthread.php?t=458054&highlight=wind+direction) in reverse to calculate the wind direction in degrees from wind direction in text.
The lookup table is
table.jpg


This works well after a little tweaking.

The formula I am using is =VLOOKUP(N5,V2:W17,2,0)
sheet.jpg


Now I need to copy this about 4000 times (the monthly data collected from my weather station) to then be able to get the average wind direction for the month.

When I use the usual copy methods – bottom right hand corner of the cell and drag or copy and paste I get a change in the formula. for example =VLOOKUP(N6,V3:W18,2,0)

Is there any way to copy a formula with only changing the lookup value without altering the table values.

I am using Excel 2003.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try making the row references absolute

=VLOOKUP(N6,V$3:W$18,2,0)
 
Upvote 0
Correction (if I may be so bold):-

=VLOOKUP(N6,V$2:W$17,2,0)
 
Upvote 0

Forum statistics

Threads
1,215,695
Messages
6,126,262
Members
449,307
Latest member
Andile

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