Help with VLOOKUP Formula

tbruce

Board Regular
Joined
Dec 9, 2013
Messages
77
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Hoping someone could help me with a VLOOKUP formula. I'm trying to match the value of the cells in column E with the cell values in column A and C and if there is a match, add the values of their corresponding (neighboring columns) counts in column F. Here is a snippet of data. I've been working on the formula and can't seem to get it exactly right. Any help would be much appreciated.

ABCDEF
Log #1Log 1 CntLog #2 Log #2 CntBoth LogsTotal Cnt
121124321323232311111
132327641211211212112
11111251212137612121
121211231111132413232

<tbody>
</tbody>
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
maybe something like...

Excel 2016 (Windows) 32 bit
ABCDEF
1Log #1Log 1 CntLog #2 Log #2 CntBoth LogsTotal Cnt
2121124321323232311111349
3132327641211211212112544
411111251212137612121499
51212112311111324132321087

<tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
F2=SUMIF($A$2:$C$5,E2,$B$2:$D$5)

<tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
Thanks - That worked, but I forgot to mention another value I need to produce and that is the value in Column E, where I need to look at column A and column C, and produce a list of all numbers from those two columns and enter in column E removing any duplicates. I can use the Remove Duplicates and paste, but was hoping for a formula to produce the numbers in column E.
 
Upvote 0
maybe something like...

=IFERROR(INDEX($A$2:$A$5,MATCH(0,INDEX(COUNTIF($E$1:E1,$A$2:$A$5),0),0)),"")
 
Upvote 0

Forum statistics

Threads
1,216,587
Messages
6,131,586
Members
449,657
Latest member
Timber5

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top