If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
formula problem. Find if a formula has entered data into a cell
Hi
I have a formula(Vlookup) in a cell and it is looking for data. If it finds it, it places it into the cell. I want to place a formula inanother cell that then looks at this cell and determins if it has placed the data into that cell by inserting a 1 into another cell if not a 0 --- Message posted from http://www.ExcelForum.com/ |
#2
|
|||
|
|||
If you have a VLOOKUP formula in a cell, it will return either a value or an
error. It will not be 0 unless 0 is the result of the lookup. What exactly are you trying to accomplish? -- Vasant "con_tg " wrote in message ... Hi I have a formula(Vlookup) in a cell and it is looking for data. If it finds it, it places it into the cell. I want to place a formula inanother cell that then looks at this cell and determins if it has placed the data into that cell by inserting a 1 into another cell if not a 0 --- Message posted from http://www.ExcelForum.com/ |
#3
|
|||
|
|||
If I understand what you're asking, you could first make sure that your
lookup formula is set-up to return a null if it doesn't find any data to return. Then, have the formula in your second cell just look for the null, and then return a 0, otherwise, return a 1. For example, the lookup formula could be similar to this: =IF(ISNA(MATCH(C1,A1:A10,0)),"",VLOOKUP(C1,A1:B10, 2,0)) Now, if the lookup formula was in D1, the second formula could be similar to this: =--(D1"") -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "con_tg " wrote in message ... Hi I have a formula(Vlookup) in a cell and it is looking for data. If it finds it, it places it into the cell. I want to place a formula inanother cell that then looks at this cell and determins if it has placed the data into that cell by inserting a 1 into another cell if not a 0 --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IF E3 & E10 = TRUE set this cell to "Yes", else set to "No" | Timothy L | Worksheet Functions | 5 | August 27th, 2004 02:28 AM |
How to create graphs in a monthly report where the base data can change | John Clarke | Charts and Charting | 3 | June 25th, 2004 02:22 AM |
Edit recipient list causes "cannot find its data source" in Word 2002. | Les Mercer | Mailmerge | 3 | May 7th, 2004 03:49 PM |
how to make gaps in plotted data when cell has formula | D. Eglen | Charts and Charting | 1 | December 4th, 2003 09:19 PM |
Cell reference data not displaying in chart | Jon Peltier | Charts and Charting | 0 | November 12th, 2003 06:30 PM |