473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

Excel v lookup

I am trying to merge two spreadsheets together for a price update and the codes on both spreadsheets are the same but they do not register. If i type over one of the codes it then will register and the appropriate information will be brought over. I believe it has something to do with the format of the cell but i cant work it out.
Feb 28 '07 #1
14 4995
Killer42
8,435 Expert 8TB
I am trying to merge two spreadsheets together for a price update and the codes on both spreadsheets are the same but they do not register. If i type over one of the codes it then will register and the appropriate information will be brought over. I believe it has something to do with the format of the cell but i cant work it out.
How are you merging them?
Mar 2 '07 #2
How are you merging them?
I am using the v lookup and choosing the code cells for the look up
Mar 6 '07 #3
Killer42
8,435 Expert 8TB
I am using the v lookup and choosing the code cells for the look up
Can you show us the code (or formula) used?
Mar 7 '07 #4
Can you show us the code (or formula) used?
Sorry it has taken so long to get back to you but work has been an nightmare. I cant copy the formulas over but i will try to expain. I highlight thecodes from our computing sytem for the first section of the look up and then i highlight all the information from the suppliers spreadsheet by starting at row 1 and scrolling down to the end then i select the colum (suppliers spreadsheet) that the pricing is in (example 5) then type False for the last question. then i process the lookup.

This works for some suppliers but not others even if the codes look identical.
Mar 13 '07 #5
Killer42
8,435 Expert 8TB
Sorry it has taken so long to get back to you but work has been an nightmare. I cant copy the formulas over but i will try to expain. I highlight thecodes from our computing sytem for the first section of the look up and then i highlight all the information from the suppliers spreadsheet by starting at row 1 and scrolling down to the end then i select the colum (suppliers spreadsheet) that the pricing is in (example 5) then type False for the last question. then i process the lookup.

This works for some suppliers but not others even if the codes look identical.
I won't have time to catch up on this thread for at least a few hours. But I do know that codes which look identical can be a major pain in Excel. I seem to recall that setting format to Text can sometimes help you to determine exactly what's in a range of cells. You may find that one is a number, the other is a text string - not the same value at all, even though they may be presented the same way on the screen.
Mar 13 '07 #6
I won't have time to catch up on this thread for at least a few hours. But I do know that codes which look identical can be a major pain in Excel. I seem to recall that setting format to Text can sometimes help you to determine exactly what's in a range of cells. You may find that one is a number, the other is a text string - not the same value at all, even though they may be presented the same way on the screen.

We have tried to change the entire column to text then number to see if we could get the code to recognise each other but no luck.
Mar 15 '07 #7
We have tried to change the entire column to text then number to see if we could get the code to recognise each other but no luck.
Also when i change the format in the cell by say typing over the code and it then attaches the appropriate pricing the cell format has a message that says
The number in this cell is formatted as text or followed by an apostrophe. ?
Mar 20 '07 #8
Killer42
8,435 Expert 8TB
Also when i change the format in the cell by say typing over the code and it then attaches the appropriate pricing the cell format has a message that says
The number in this cell is formatted as text or followed by an apostrophe. ?
It sounds as though the original value is in fact a string, and not a number. How does it get there in the first place?

Also, to test that, can you go to the "bad" value, which doesn't calculate, press F2 to edit, then enter (without changing anything). If it is originally text, probably one of two things will happen. Either you'll find during the edit that it has an apostrophe at the start, or it will switch to a number when you press enter.
Mar 21 '07 #9
It sounds as though the original value is in fact a string, and not a number. How does it get there in the first place?

Also, to test that, can you go to the "bad" value, which doesn't calculate, press F2 to edit, then enter (without changing anything). If it is originally text, probably one of two things will happen. Either you'll find during the edit that it has an apostrophe at the start, or it will switch to a number when you press enter.
Yes i have just tested on list and by pressing f2 on the suppliers code and then entering the pricing is brought through. I also just had a list of codes that had spaces at the end of the code and if i selected f2 then backspaced back to the end of the code and pressed enter the pricing registered and came through. My problem with this is that i had 11000 codes from the supplier that i need to f2 we only stocked 500 items.
Mar 21 '07 #10
Killer42
8,435 Expert 8TB
Yes i have just tested on list and by pressing f2 on the suppliers code and then entering the pricing is brought through. I also just had a list of codes that had spaces at the end of the code and if i selected f2 then backspaced back to the end of the code and pressed enter the pricing registered and came through. My problem with this is that i had 11000 codes from the supplier that i need to f2 we only stocked 500 items.
Sorry, you lost me a little toward the end. Is this resolved, or do you still need to fix 500 or 11,000 values?

If the latter, a little searching (see search box, top-right) should produce you information on how to convert a range of cells from text to number.
Mar 22 '07 #11
Sorry about the confusion i am just learning about merging spreadsheets. I did manage to change the formula on the 10000 items manual by f2 but i would still like to be able to work out how to change the formulas with out having to change every single item manually. Is there a way to f2 a range of cells instead of each one individually.
Mar 22 '07 #12
Killer42
8,435 Expert 8TB
Sorry about the confusion i am just learning about merging spreadsheets. I did manage to change the formula on the 10000 items manual by f2 but i would still like to be able to work out how to change the formulas with out having to change every single item manually. Is there a way to f2 a range of cells instead of each one individually.
There are probably many ways to achieve this such as selecting the range and invoking a macro. But I have a strong feeling that there is a very quick and easy way to change your text values to numbers, but just can't think of it.

...

Ah! Found it at last. There's an entry in Excel's online help entitled Convert numbers stored as text to numbers. The sub-heading "A whole range at once" gives this advice...
  1. In an empty cell, enter the number 1.
  2. Select the cell, and on the Edit menu, click Copy.
  3. Select the range of numbers stored as text you want to convert.
  4. On the Edit menu, click Paste Special.
  5. Under Operation, click Multiply.
  6. Click OK.
  7. Delete the content of the cell entered in the first step.
I guess what it boils down to is that you need to perform an arithmetic operation on the range of cells, forcing it to make them numeric where possible.

P.S. You did a manual edit on 10,000 cells? That must have taken a while.
Mar 23 '07 #13
[quote=Killer42]There are probably many ways to achieve this such as selecting the range and invoking a macro. But I have a strong feeling that there is a very quick and easy way to change your text values to numbers, but just can't think of it.

...

Ah! Found it at last. There's an entry in Excel's online help entitled Convert numbers stored as text to numbers. The sub-heading "A whole range at once" gives this advice...
  1. In an empty cell, enter the number 1.
  2. Select the cell, and on the Edit menu, click Copy.
  3. Select the range of numbers stored as text you want to convert.
  4. On the Edit menu, click Paste Special.
  5. Under Operation, click Multiply.
  6. Click OK.
  7. Delete the content of the cell entered in the first step.
I guess what it boils down to is that you need to perform an arithmetic operation on the range of cells, forcing it to make them numeric where possible.

P.S. You did a manual edit on 10,000 cells? That must have taken a while.[/QUOTE

Yes the manual changes took me 4 hours to do.

Great i have just checked your suggestion and it has worked. I did try it on the supplier list at work on friday that had the spaces after the code these didnt work. Thankyou very much.
Mar 25 '07 #14
Killer42
8,435 Expert 8TB
...Yes the manual changes took me 4 hours to do.
Ouch!

Great i have just checked your suggestion and it has worked. I did try it on the supplier list at work on friday that had the spaces after the code these didnt work. Thankyou very much.
Hm... you could probably get around that fairly simply by first selecting the range of cells and doing a replace of space within nothing.

Anyway, glad to see things seem to be resolved.
Mar 25 '07 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Unbreakable | last post by:
I am using the nusoap client and nusoap server without any problem. However, once I change the client to the excel, I am not sure how to call the nusoap server. Especially the nusoap server only...
4
by: Jane | last post by:
I got the web application to open up the excel. It works fine on my development box. But when i moved it to the production server, I cannot get the Excel spreadsheet to open. I get...
2
by: Acephalus | last post by:
I am currently using this to get data from an .xls file:string conn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=" + file + ";" + "Extended Properties=Excel 8.0;";...
4
by: Dwight Trumbower | last post by:
There has to be a better way than the following code. My main area of question is getting data from a cell. This following statement is the only way I can get it to work. Just seems like to much...
14
by: Raoul Snyman | last post by:
Hi, I need to be able to programatically create excel spreadsheets in ASP.NET (C#), WITHOUT having MS Office on the server. Does anybody have any advice/links/whatever for me? Thanks in...
4
by: Stu | last post by:
Hi, I am using the following code to read the data from an Excel spreadsheet. It runs basically OK but it skips the first row of the spreadsheet. Does anyone know how to either read the first...
0
by: Stu Lock | last post by:
Hi, We have written an app that lets a client load excel spreadsheets in to a database. Most of the time this is working OK but occasionally we get a file that simply misses a column in the...
21
by: bobh | last post by:
Hi All, In Access97 I have a table that's greater than 65k records and I'm looking for a VBA way to export the records to Excel. Anyone have vba code to export from access to excel and have the...
1
by: scubasteve | last post by:
Looking up values from an Access table is simple. Simulating the 'Range Lookup' functionality from Excel's VLookup formula is a bit trickier. For those that aren't familiar with this, it allows...
4
by: stephen | last post by:
Hi all, I am working with Excel. I read an excel document using ExcelReader and lets say it has 10 columns. I have to read each record and based on a specified column peform some activites and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.