Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jean
 
Posts: n/a
Default Return value in cell above the reference


I've used the following formula to return the information I want to cell
N1434:

=SUMPRODUCT(--($Y$2:$Y$1404=$Y1434),--($E$2:$E$1404=$E1434),--($F$2:$F$1404=$F1434),N$2:N$1404)

In this instance it returns the value from cell N773, which is
correct.

Now in Cell N1433 I would like to return the value in cell N772. I
can't use the sumproduct function because the references can't be used
again without throwing off other calculations. I tried to get the row
function to go out and return N773 as an answer to something but failed
miserably. Any help is appreciated.

Jean


--
Jean
------------------------------------------------------------------------
Jean's Profile: http://www.excelforum.com/member.php...o&userid=17585
View this thread: http://www.excelforum.com/showthread...hreadid=547093

  #4   Report Post  
Posted to microsoft.public.excel.misc
Domenic
 
Posts: n/a
Default Return value in cell above the reference

Try...

=INDEX(N$2:N$1404,MATCH(1,IF($Y$2:$Y$1404=$Y1434,I F($E$2:$E$1404=$E1434,I
F($F$2:$F$1404=$F1434,1))),0)-1)

....confirmed with CONTROL+SHIFT+ENTER, not just ENTER.

Hope this helps!

In article ,
Jean wrote:

I've used the following formula to return the information I want to cell
N1434:

=SUMPRODUCT(--($Y$2:$Y$1404=$Y1434),--($E$2:$E$1404=$E1434),--($F$2:$F$1404=$F
1434),N$2:N$1404)

In this instance it returns the value from cell N773, which is
correct.

Now in Cell N1433 I would like to return the value in cell N772. I
can't use the sumproduct function because the references can't be used
again without throwing off other calculations. I tried to get the row
function to go out and return N773 as an answer to something but failed
miserably. Any help is appreciated.

Jean

  #5   Report Post  
Posted to microsoft.public.excel.misc
Jean
 
Posts: n/a
Default Return value in cell above the reference


Both solutions worked! Thank you so much--you are the rock stars of the
excel universe!
Jean


--
Jean
------------------------------------------------------------------------
Jean's Profile: http://www.excelforum.com/member.php...o&userid=17585
View this thread: http://www.excelforum.com/showthread...hreadid=547093



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
Reference Cell Color From Other WorkSheets carCiNogn Excel Worksheet Functions 1 May 17th 06 09:35 PM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
Cell Reference locking Hysteresis Excel Discussion (Misc queries) 1 November 3rd 05 05:05 PM
GETPIVOTDATA - return cell reference, not value Slider Excel Worksheet Functions 0 August 29th 05 11:06 PM
Return cell reference of lookup value bobm Excel Worksheet Functions 3 July 7th 05 08:49 AM


All times are GMT +1. The time now is 09:48 AM.

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

About Us

"It's about Microsoft Excel"