Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi VMohan,
Thank you very much for taking the time. I have typed your formula in (several times, and carefully) but keep getting "error in formula" by Excell. Unfortunately, I wouldn't know where the error is as I am very much a newbie! For the record, what I am exactly getting in col R (with no data in col G) is as follows: (sign for number (don't have it on the keyboard), then attached to it: N/A. Does that make any sense? "vmohan1978" wrote: use =if(ISNA(VLOOKUP(G7,$AM$1:$AN$29,2,FALSE))) "CAT" wrote: Hi H2fcell, Thanks a lot; that works great, I am getting exactly what I was looking for and it's so simple to enter. Just one thing: If I leave any cell in the G column blank, I am getting a //N/A in column R and I wanted it blank, I suppose I could just erase the formula, since it does not happen that often and it does not seem to interfere with the working of it in the following cells. Comparing to what I had to do before,it's all so simple; thanks again for your help, you've saved me a lot of time. "h2fcell" wrote: Hi, I think you want to change your VLOOKUP to include a reference to column G Type below in R7: =VLOOKUP(G7,$AM$1:$AN$29,2,FALSE) You can then copy that down column R and the G7 will change automatically to G8,G9,G10.... Let me know if that's what you're looking for. "CAT" wrote: Hi everyone, hope someone out there can help me with this one, a bit long! I'm a fairly new user and using Excell 2007. Outside the main body of my worksheet I have set a LookUp table, with 2 columns starting with cell AM1 and finishing with cell AN29, with precise values that will be needed in the spreadsheet: Col AM Col An 20 10 18 9 16 8.50 14 7.50 12 6.50 11 6.00 10 5.50 .... .... etc. etc., to 2.00 1.25 1.88 1.20 1.75 1.00 1.63 0.91 1.50 0,83 in cell An29, this being the last value of the series. (A total of 29 values that are not all listed here). In my worksheet, the two columns involved a Col G - Manual data entry Entering randomly one value per cell out of the list in col AM of the LookUp table (or none) Col R - Calculated data Returning the equivalent value in col AN of the LookUp table (or none) *What I do - Row 7 : First entry In col R, cell R7, I enter the following function: =VLOOKUP(8,$AM$1:$AN$29,2,FALSE) (the figure "8" being temporary) and copy it right down the column (up to 400 entries) Then, for each new entry that I enter (manually) in each cell of col G, I modify the formula, in the same row in col R, to match my entry, in other words I delete the "8" and replace it with the figure I have just typed in: Example: Cell G7 : type in 16, Cell R7 : delete the 8 and replace by 16 to read: =VLOOKUP(16,$AM$1:$AN$29,2,FALSE) (which will give me the value 8.50 - col N of LookUp table) and so on (for up to 400 cells) until I have completed the entries; in the case of any blank cell in col G, I delete the formula in col R. The whole process is really time consuming and I make quite a few errors. *What I would like to achieve: Have a function (in column R?) that would automatically return, in the equivalent cell in col R, the relevant value that is listed in the column AN of the LookUp table, everytime a new entry is inserted in any of the cells of column G, but giving a blank when there are no equivalents. Sorry this is so longwinded, but I wanted to present this as clearly as possible so as not to confuse the issue in order to get an answer! Thank you for any help, as it will be much appreciated |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
returning multiple cell values from a vlookup | Excel Worksheet Functions | |||
Vlookup - returning multiple vertical values | Excel Discussion (Misc queries) | |||
Using VLOOKUP for returning multiple values and summing them | Excel Worksheet Functions | |||
VLookup returning the sum of multiple values from one "code" | Excel Worksheet Functions | |||
vlookup returning multiple values | Excel Worksheet Functions |