Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Petee
 
Posts: n/a
Default Display cell based on multiple cross-references

I have over 1,000 rows with 3 columns of non-unique numbers/letters (no two
rows are entirely the same).

4 790 54
4 794 93
4 797 20
4 797 74X
4 799 103
5 511 93
5 511 120
5 520 74X


I have 2 cells that I will use to paste in numbers from another database:

H1=103
H2=799

I need a new cell query like:

If H1=ColumnC AND H2=ColumnB then display the value of ColumnA... (4 in this
example).

Please save me before I pull more hair out! Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kraljb
 
Posts: n/a
Default Display cell based on multiple cross-references


=SUMPRODUCT(--(C1:C1000=H1),--(B1:B1000=H2),A1:A1000)

Although this only works as long as column A is numbers and there are
no duplicate rows (i.e. 2 rows with 799 and 103)


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=552456

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Petee
 
Posts: n/a
Default Display cell based on multiple cross-references

Column A is numbers and the rows are unique AND it works like a charm! Thanks
a TON!

"kraljb" wrote:


=SUMPRODUCT(--(C1:C1000=H1),--(B1:B1000=H2),A1:A1000)

Although this only works as long as column A is numbers and there are
no duplicate rows (i.e. 2 rows with 799 and 103)


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=552456


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
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Can one cell hold multiple check boxes (and then sort based off e. OT Excel Discussion (Misc queries) 1 March 29th 06 07:32 PM
Multiple or Variable cell references in Solver (Excel 97) Coreyhotlin Excel Worksheet Functions 1 February 14th 06 01:36 PM
How do I set a cell value based on a formula in another cell? dingy101 Excel Discussion (Misc queries) 1 November 21st 05 08:51 AM
using multiple split cell references in linest Alex Excel Worksheet Functions 0 May 16th 05 05:37 PM


All times are GMT +1. The time now is 03:26 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"