Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need to write a program for construction estimating for my company.
Nothing fancy, justa little something to make my life easier. Since I never know how many items I will need to lookup, I want to have the userform update the excel cells as needed. Here is the code I am trying to get to work. It looks at the previous cell in the row for a match description. If it finds one, I need it to lookup the value in the pricing database and return the value in the cell. =IF($K18="","",VLOOKUP($K18,'C:\Templates\pricing. xls'!OIGDB,3,FALSE)) example Lets say in the description cell it finds "30 year shingles" It then goes to the pricing database and findes "square foot" for column 3 so will show "square foot" in the cell. I hope this makes sense. Thank you for any help. Rob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I format line return in a cell? | Excel Discussion (Misc queries) | |||
Cell Format import from Database | Excel Discussion (Misc queries) | |||
format a cell to accept sentences... using return key | Excel Discussion (Misc queries) | |||
Return MS-SQL database names to excel? | Excel Programming | |||
How to read from a SQL Server table into Excel and use the Excel cell format as in the database | Excel Programming |