View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default need to match two totals from two different list

--Copy the formula
--Select the cell. Press F2
--Paste the formula (all in one line unless it is run to the second line b)
--Instead of pressing Enter press Ctrl+Shift+Enter

If this post helps click Yes
---------------
Jacob Skaria


"Bklynhyc" wrote:

sorry ,

but how can I do that, seems like whenever I press on ctrl, shift, and
enter. I couldn't past the formula.


"Jacob Skaria" wrote:

If I understand you correctly you want to generate the numbers as below

date mer.no total no
6/2/2009 4321 11 =
6/1/2009 1234 500 =
6/2/2009 1234 200 =

Suppose you have the data with numbers in Sheet1 CoA/ColD
In sheet2 you have the above data in ColA/ColC
In Sheet2 col D cell D2 enter the below formula

=INDEX(Sheet1!$A$2:$A$100,MATCH(1,(Sheet1!$B$2:$B$ 100=A2)*(Sheet1!$C$2:$C$100=B2)*(Sheet1!$D$2:$D$10 0=C2),0))

Please note that this is an array formula. You create array formulas in the
same way that you create other formulas, except you press CTRL+SHIFT+ENTER to
enter the formula. If successful in 'Formula Bar' you can notice the curly
braces at both ends like "{=<formula}"


If this post helps click Yes
---------------
Jacob Skaria


"Bklynhyc" wrote:

Hi,

I have two lists of total, both content the same information.
Date, merchant no., and total.. after matching if i can assign the same
number from list 1 to list 2. how would i go about doing so?

Best regards
H