Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
jlmam
 
Posts: n/a
Default Function to look at two cells and return a third

I'm hoping someone can help me. This seems like a simple task but I'm at a
loss.

Here is a current working formula, but I need to look at TWO cells instead
of just one:

=VLOOKUP(A2,GLextract.xls!list,2,0)

I have two worksheets, one contains a table and one contains the data where
the formula will reside. For example:

Table:
A2 B2 C2
26062 5010 2502000

Data:
A2 B2 C2 D2
26062 5010 Sales - Industrial (Formula)

I want the formula to look at cells A2 and B2 and return the value in C2.

I tried: =VLOOKUP(A2&B2,GLextract.xls!list,2,0)
I also tried an IF function: =IF(A2&B2=Table!A2&B2,C2,"ERROR")

Any help would be appreciated. As you can tell, I'm a novice with functions!
















  #3   Report Post  
jlmam
 
Posts: n/a
Default

I need to make an addition to one of my sentences:

I want the formula to look at cells A2 and B2 IN WORKSHEET 'TABLE' and return the value in C2 FROM WORKSHEET 'TABLE'.


Sorry about the confusion

"jlmam" wrote:

I'm hoping someone can help me. This seems like a simple task but I'm at a
loss.

Here is a current working formula, but I need to look at TWO cells instead
of just one:

=VLOOKUP(A2,GLextract.xls!list,2,0)

I have two worksheets, one contains a table and one contains the data where
the formula will reside. For example:

Table:
A2 B2 C2
26062 5010 2502000

Data:
A2 B2 C2 D2
26062 5010 Sales - Industrial (Formula)

I want the formula to look at cells A2 and B2 and return the value in C2.

I tried: =VLOOKUP(A2&B2,GLextract.xls!list,2,0)
I also tried an IF function: =IF(A2&B2=Table!A2&B2,C2,"ERROR")

Any help would be appreciated. As you can tell, I'm a novice with functions!
















Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Function to return the latest non-zero value in a range of cells . hungryman Excel Worksheet Functions 2 January 24th 05 02:54 PM
Return non-zero cells in column Greg Excel Worksheet Functions 5 December 11th 04 12:55 PM
Adding multiple cells, return specific values Jim Excel Worksheet Functions 4 December 8th 04 07:26 AM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 05:54 PM


All times are GMT +1. The time now is 06:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"