VLookUp

INeedHelp1987456

New Member
Joined
Aug 24, 2011
Messages
1
Hello I'm trying to write a vlook up so that if a value in column c sheet 1 matches a value in column c sheet 2, then the value on the same row in column g sheet 1 will be added to the value on the same row of column g sheet 2.

Thank You!

-R
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Welcome to the Board!

Take a look at the VLOOKUP function. Let's say that your data on Sheet1 is in cells C1:G100, and you are looking up a value in C3 on Sheet2. Then enter this formula in G3 on Sheet2:

=VLOOKUP(C3,Sheet1!C$1:G$100,5,0)

It will return an error is it does not find a match. There are different ways you can handle that error, depending on what version on Excel you are on and what you want it to do in the event of no match.

Take a look at Excel's built-in help on the VLOOKUP function for details on how to use the function, explanations of the different arguments, and examples.
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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