Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm trying to run the following formula
"=IF(ISBLANK(B383),"---",VLOOKUP($B383,PVC2,3,FALSE))" and I keep getting the error listed in the subject line. We are doing inventory and on a couple of pages the people counting wanted them by description instead of part number. I've put the parts on a seperated worksheet and named the range for the parts to PVC2. I didn't what to have to manually configure them jumping around. This would of been easy except our accounting software kept the part numbers and descriptions in the same cell. I actually exported 2 differents sheets from the software. one listing every thing by part number and the other by description. I'm not sure what is wrong. I've tried going through the evaluate formula and it show's the #ref in there but not sure how to fix it. 239-503017 - BULKHEAD BOLTED FITTING 2" W/SIPHON #REF! 1.00 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
What's the range of PVC2? It needs to be at least 3 columns wide in order for
the "3" to make sense. or is the reference being returned a #REF! itself? "bduncan" wrote: I'm trying to run the following formula "=IF(ISBLANK(B383),"---",VLOOKUP($B383,PVC2,3,FALSE))" and I keep getting the error listed in the subject line. We are doing inventory and on a couple of pages the people counting wanted them by description instead of part number. I've put the parts on a seperated worksheet and named the range for the parts to PVC2. I didn't what to have to manually configure them jumping around. This would of been easy except our accounting software kept the part numbers and descriptions in the same cell. I actually exported 2 differents sheets from the software. one listing every thing by part number and the other by description. I'm not sure what is wrong. I've tried going through the evaluate formula and it show's the #ref in there but not sure how to fix it. 239-503017 - BULKHEAD BOLTED FITTING 2" W/SIPHON #REF! 1.00 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I didn't have all three columns in the range. Thanks you, but
I changed the range and still have the same problem. In the evaluation it says"IF(FALSE,#N/A,VLOOKUP9"239-503017 - BULKHEAD BOLTED FITTING 2"' W/SIPHON",fittings!$a:$c,3,False)). I'm guessing this is the problem in my formula but I don't know what is wrong. "Bob Umlas, Excel MVP" wrote: What's the range of PVC2? It needs to be at least 3 columns wide in order for the "3" to make sense. or is the reference being returned a #REF! itself? "bduncan" wrote: I'm trying to run the following formula "=IF(ISBLANK(B383),"---",VLOOKUP($B383,PVC2,3,FALSE))" and I keep getting the error listed in the subject line. We are doing inventory and on a couple of pages the people counting wanted them by description instead of part number. I've put the parts on a seperated worksheet and named the range for the parts to PVC2. I didn't what to have to manually configure them jumping around. This would of been easy except our accounting software kept the part numbers and descriptions in the same cell. I actually exported 2 differents sheets from the software. one listing every thing by part number and the other by description. I'm not sure what is wrong. I've tried going through the evaluate formula and it show's the #ref in there but not sure how to fix it. 239-503017 - BULKHEAD BOLTED FITTING 2" W/SIPHON #REF! 1.00 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I think I'd build the formula not using the range name--just to get it working
ok. =IF(ISBLANK(B383),"---",VLOOKUP($B383,fittings!$A:$C,3,FALSE)) It that works ok, then it's time to determine what PVC2 refers to. Maybe that's where the error is. What happened when you tried the other suggestion? bduncan wrote: I didn't have all three columns in the range. Thanks you, but I changed the range and still have the same problem. In the evaluation it says"IF(FALSE,#N/A,VLOOKUP9"239-503017 - BULKHEAD BOLTED FITTING 2"' W/SIPHON",fittings!$a:$c,3,False)). I'm guessing this is the problem in my formula but I don't know what is wrong. "Bob Umlas, Excel MVP" wrote: What's the range of PVC2? It needs to be at least 3 columns wide in order for the "3" to make sense. or is the reference being returned a #REF! itself? "bduncan" wrote: I'm trying to run the following formula "=IF(ISBLANK(B383),"---",VLOOKUP($B383,PVC2,3,FALSE))" and I keep getting the error listed in the subject line. We are doing inventory and on a couple of pages the people counting wanted them by description instead of part number. I've put the parts on a seperated worksheet and named the range for the parts to PVC2. I didn't what to have to manually configure them jumping around. This would of been easy except our accounting software kept the part numbers and descriptions in the same cell. I actually exported 2 differents sheets from the software. one listing every thing by part number and the other by description. I'm not sure what is wrong. I've tried going through the evaluate formula and it show's the #ref in there but not sure how to fix it. 239-503017 - BULKHEAD BOLTED FITTING 2" W/SIPHON #REF! 1.00 -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks for the help, I changed my range name and used the actual address. I
don't know if I made a mistake or that the error changed but the error is now #N/A. "Dave Peterson" wrote: I think I'd build the formula not using the range name--just to get it working ok. =IF(ISBLANK(B383),"---",VLOOKUP($B383,fittings!$A:$C,3,FALSE)) It that works ok, then it's time to determine what PVC2 refers to. Maybe that's where the error is. What happened when you tried the other suggestion? bduncan wrote: I didn't have all three columns in the range. Thanks you, but I changed the range and still have the same problem. In the evaluation it says"IF(FALSE,#N/A,VLOOKUP9"239-503017 - BULKHEAD BOLTED FITTING 2"' W/SIPHON",fittings!$a:$c,3,False)). I'm guessing this is the problem in my formula but I don't know what is wrong. "Bob Umlas, Excel MVP" wrote: What's the range of PVC2? It needs to be at least 3 columns wide in order for the "3" to make sense. or is the reference being returned a #REF! itself? "bduncan" wrote: I'm trying to run the following formula "=IF(ISBLANK(B383),"---",VLOOKUP($B383,PVC2,3,FALSE))" and I keep getting the error listed in the subject line. We are doing inventory and on a couple of pages the people counting wanted them by description instead of part number. I've put the parts on a seperated worksheet and named the range for the parts to PVC2. I didn't what to have to manually configure them jumping around. This would of been easy except our accounting software kept the part numbers and descriptions in the same cell. I actually exported 2 differents sheets from the software. one listing every thing by part number and the other by description. I'm not sure what is wrong. I've tried going through the evaluate formula and it show's the #ref in there but not sure how to fix it. 239-503017 - BULKHEAD BOLTED FITTING 2" W/SIPHON #REF! 1.00 -- Dave Peterson |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
First, I didn't notice this in your original formula, but I think you have a
small mistake. You used B383 in the =isblank() portion and $B383 in the =vlookup() portion. I would expect that you would want that to be the same (absolution or relative--but the same). If you see #n/a, that means that there is no match in the first column of your lookup range for the value in B383. Debra Dalgleish has lots of notes on troubleshooting this kind of error: http://contextures.com/xlFunctions02.html#Trouble If your data doesn't really have a match and you want to hide that #n/a, you can use format|Conditional formatting (white font on a white fill???). Or you could change your formula: =if($b383="","",if(isna(vlookup(...)),"Missing",vl ookup(...))) I like $b383="" better than =isblank($b383) since it's less typing. You can change "Missing" to anything you want--including an empty string: "" bduncan wrote: Thanks for the help, I changed my range name and used the actual address. I don't know if I made a mistake or that the error changed but the error is now #N/A. "Dave Peterson" wrote: I think I'd build the formula not using the range name--just to get it working ok. =IF(ISBLANK(B383),"---",VLOOKUP($B383,fittings!$A:$C,3,FALSE)) It that works ok, then it's time to determine what PVC2 refers to. Maybe that's where the error is. What happened when you tried the other suggestion? bduncan wrote: I didn't have all three columns in the range. Thanks you, but I changed the range and still have the same problem. In the evaluation it says"IF(FALSE,#N/A,VLOOKUP9"239-503017 - BULKHEAD BOLTED FITTING 2"' W/SIPHON",fittings!$a:$c,3,False)). I'm guessing this is the problem in my formula but I don't know what is wrong. "Bob Umlas, Excel MVP" wrote: What's the range of PVC2? It needs to be at least 3 columns wide in order for the "3" to make sense. or is the reference being returned a #REF! itself? "bduncan" wrote: I'm trying to run the following formula "=IF(ISBLANK(B383),"---",VLOOKUP($B383,PVC2,3,FALSE))" and I keep getting the error listed in the subject line. We are doing inventory and on a couple of pages the people counting wanted them by description instead of part number. I've put the parts on a seperated worksheet and named the range for the parts to PVC2. I didn't what to have to manually configure them jumping around. This would of been easy except our accounting software kept the part numbers and descriptions in the same cell. I actually exported 2 differents sheets from the software. one listing every thing by part number and the other by description. I'm not sure what is wrong. I've tried going through the evaluate formula and it show's the #ref in there but not sure how to fix it. 239-503017 - BULKHEAD BOLTED FITTING 2" W/SIPHON #REF! 1.00 -- Dave Peterson -- Dave Peterson |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm betting that PVC2 has less than 3 columns.
Try: Ctrl-g type pvc2 and hit enter What is selected? bduncan wrote: I'm trying to run the following formula "=IF(ISBLANK(B383),"---",VLOOKUP($B383,PVC2,3,FALSE))" and I keep getting the error listed in the subject line. We are doing inventory and on a couple of pages the people counting wanted them by description instead of part number. I've put the parts on a seperated worksheet and named the range for the parts to PVC2. I didn't what to have to manually configure them jumping around. This would of been easy except our accounting software kept the part numbers and descriptions in the same cell. I actually exported 2 differents sheets from the software. one listing every thing by part number and the other by description. I'm not sure what is wrong. I've tried going through the evaluate formula and it show's the #ref in there but not sure how to fix it. 239-503017 - BULKHEAD BOLTED FITTING 2" W/SIPHON #REF! 1.00 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error: "Excel encountered an error and had to remove some formatti | Excel Discussion (Misc queries) | |||
Counting instances of found text (Excel error? Or user error?) | Excel Worksheet Functions | |||
I have Error 1919 Error Configuring ODBC dataSource Database | Excel Discussion (Misc queries) | |||
Excel 2003 Macro Error - Runtime error 1004 | Excel Discussion (Misc queries) |