Hi,
I have a spreadsheet that allows a "product stock number" to be put in and by using VLOOKUP automatically populates the associated cells with things like part number and date manufactured from another "products in stock" spreadsheet.
Now, sometimes we do not need to put a product into stock, instead it will be dispatched to the customer immediatley after being manufactured so will not be issued a "product stock number".
Is it possible for a cell to use VLOOKUP (if there is a "product stock number" entered) and also for the same cell to be able to accept a manual text entry of the required data if there is no "product stock number"?
Hope that makes sense!
Hi,
You can't have a cell containing a formula and allowing manual entry into it. It's one or the other. You would need to have an 'override' cell (e.g. A1) and then change your vlookup formula to something like =IF(A1="",vlookup_formula,A1).
Dom
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks