IF Statement which includes conditions and provide specific result

shahid5788

Board Regular
Joined
May 24, 2016
Messages
91
Hi,

I had a question regarding my information below. As you can see my raw data below. In Column D you will see what results I want. I am trying to find a If statement that will look into column E (ID#) and column G (Item) and if those are same information as cell C3 then return the C3 information in column D


Can someone please assist?




DtMemo / DescriptionPO NUMBERWhat I WantID #Customer NameItemUSDUSD
9/27/2017Invoice - Auburn University: 500drt, htfJW2, vertical orientation IF Column G and H have same information as cell C3 then choose C3 contentPO47512Auburn UniversityPTTUA0080 10,000.00
9/27/2017Invoice - Auburn University: SF 147634 Purchase Billing - PO475PO475PO47512Auburn UniversityBACK0054 100.00
9/25/2017HA22 - Pannel Shipping List - 22: 2017/10/25 PatchIF Column G and H have same information as cell C3 then choose C3 contentPO47512Auburn UniversityBACK005460.00
9/25/2017HA22 - Pannel Shipping List - 22: 2017/10/25 PatchIF Column G and H have same information as cell C3 then choose C3 contentPO47512Auburn UniversityPTTUA00808,000.00

<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Your question and example are having inconsistent references.
Take a close look at what your asking and make sure it's in line with the sample.
 
Upvote 0
Hi sorry for the confusion. I hope I can make it more sense now. So what I want is that to have a IF statement that will go into column E and column G and if those same information is being repeated again then return the value of column C. As you can see in Item BACK0054 and ID 12 is being shown twice in the data below and I want a formula that will return the value of "PO475" if that make sense.





Doc Dt.Memo / DescriptionPO NUMBERWhat I WantID #Customer NameItem
9/27/2017Invoice - Auburn University: 500drt, htfJW2, vertical orientation PO47512Auburn UniversityPTTUA0080
9/27/2017Invoice - Auburn University: SF 147634 Purchase Billing - PO475PO475PO47512Auburn UniversityBACK0054
9/25/2017HA22 - Pannel Shipping List - 22: 2017/10/25 PatchIf column E and G have same information shown then return value from column CPO47512Auburn UniversityBACK0054
9/25/2017HA22 - Pannel Shipping List - 22: 2017/10/25 PatchPO47512Auburn UniversityPTTUA0080

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,843
Members
449,193
Latest member
MikeVol

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