473,387 Members | 1,423 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,387 software developers and data experts.

lookup funcion

Hi,

I wonder if there is php in a similar function to "Excel: Lookup
Function, http://www.techonthenet.com/excel/formulas/lookup.php".

I do not know much about Excel and your formulas, but I am try
converting an Excel spreadsheet and found this function.

Any help will be very grateful.

Thanks!
Jun 27 '08 #1
8 1594
Leonardo Calado wrote:
Hi,

I wonder if there is php in a similar function to "Excel: Lookup
Function, http://www.techonthenet.com/excel/formulas/lookup.php".

I do not know much about Excel and your formulas, but I am try
converting an Excel spreadsheet and found this function.
What are you converting the spreadsheet to and what do you want to lookup?
Jun 27 '08 #2
Lookup is part of formula used on spreadsheet logic.

Spreadsheet is a small software piece and grown mothan 100MB of data
in one .xls file. Now data from this file need bem posted on web and
Lookup is used.
Jun 28 '08 #3
Leonardo Calado wrote:
Lookup is part of formula used on spreadsheet logic.

Spreadsheet is a small software piece and grown mothan 100MB of data
in one .xls file. Now data from this file need bem posted on web and
Lookup is used.
We know what a spreadsheet is, and what a lookup function is.

The question is - what are YOU converting the spreadsheet to? Web
servers don't recognize spreadsheet data. Neither does PHP.

And What do YOU want to look up in that data?

Also, if you have 100MB of data, chances are you want a database.\

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jun 28 '08 #4
I use a on-line version of spreadsheet "program" using PHP arrays to
simulate cells and MySQL database to store retrieve data. But I look
for also in PHP similar to Lookup().

Thanks for you help!
Jun 30 '08 #5
On 30 Jun, 13:37, Leonardo Calado <leonardo.cal...@gmail.comwrote:
I use a on-line version of spreadsheet "program" using PHP arrays to
simulate cells and MySQL database to store retrieve data. But I look
for also in PHP similar to Lookup().

Thanks for you help!
Lookup is effectively the equivalent of using an SQL query to find a
record of information using a key field.

I really wouldn't try to mimic the spreadsheet in php/mysql. It will
be much more efficient to look at what the aim of the spreadsheet is
and to re-write that properly as a php/mysql application.

Either way, your equivalent of LOOKUP is a basic SQL SELECT statement.

Somewhere just recently I came across a php class that operated as a
total "in memory" spreadsheet, complete with formulas. I'll try to
find it for you later.
Jun 30 '08 #6
I appreciate it very much!

I'm glad with your help on this!
Jun 30 '08 #7
Leonardo Calado wrote:
I appreciate it very much!

I'm glad with your help on this!
http://instacalc.com/ might be interesting for you to compare with your
requirements.
Jun 30 '08 #8
Leonardo Calado wrote:
>I appreciate it very much!

I'm glad with your help on this!
As promised:
http://www.codeplex.com/PHPExcel
http://blog.maartenballiauw.be/post/...-PHPExcel.aspx
http://examples.maartenballiauw.be/p...l4business.zip
Jul 1 '08 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Srini | last post by:
I was reading the "Exceptional C++" of Herb Sutter. In an example, he mentions the following. // In some library header: namespace N { class C{}; } int operator+(int i, N::C) { return i+1; }...
8
by: Lucas Lemmens | last post by:
Dear pythonians, I've been reading/thinking about the famous function call speedup trick where you use a function in the local context to represent a "remoter" function to speed up the 'function...
9
by: Koen | last post by:
Hi all, My application uses a lot of lookup tables. I've splitted the frontend (forms, reports, etc) from the backend (data). The database has around 10 different users. The values in the...
3
by: my-wings | last post by:
I've been reading about how evil Lookup fields in tables are, but I've got to be missing something really basic. I know this subject has been covered before, because I've just spent an hour or two...
0
by: Jorge Gallardo | last post by:
Hola a todos... Vereis, me gustaria saber si se pueden asignar las teclas del F1...al F12, a alguna instruccion dentro de access, ejemplo macro, funcion, consulta. etc etc... Estoy pensando en...
3
by: google | last post by:
I have a database with four table. In one of the tables, I use about five lookup fields to get populate their dropdown list. I have read that lookup fields are really bad and may cause problems...
13
by: paul.joseph.davis | last post by:
Hi, I've just had my first encounter with two-phase lookup and I'm scratching my head a bit. The idea behind two phase look up is pretty easy to understand, but I have a case that fails to...
11
by: ianoble | last post by:
I've been trying to piece together various code snippets to create a lookup table inside my xslt without the need for a supplemental xml file. Here is what I have so far. As of now, it does not...
1
by: joeino | last post by:
I want to do a lookup query and append the record to a history table before editing the data. I created a macro to run the lookup query to append the record to history and it works fine. I did the...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.