if then statement

abdulreply

New Member
Joined
Mar 6, 2013
Messages
3
I have spreadsheet with two tabs and need to bring 2 tab info into the first one if they meet the category.

Tab 1

has cars cell with for example

honda
toyota
ford
chev
etc

Tab 2

has cars and the buyer

honda - jim
ford - tom
honda - bill
chev - paula
chev - rick
ford - vick

so any time honda has name with it the first tab should fill in Honda - with names for example it should fill Jim bill

So what formula should use? Any help will be appreciated.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Just to clarify, in the second tab, for example, Honda would be in column A, and Jim would be in column B.

If I understand what you're looking for, a pivot table would probably be your best bet

So this in tab 2:

BrandCustomer
HondaJim
FordTom
HondaBill
ChevyPuala
ChevyRick
FordVick

<tbody>
</tbody>

Would turn into this in tab 1:
BrandCustomer
ChevyPuala
Rick
FordTom
Vick
HondaBill
Jim

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

Would this work for you?
 
Upvote 0
Yes! you got my question right.


Just to clarify, in the second tab, for example, Honda would be in column A, and Jim would be in column B.

If I understand what you're looking for, a pivot table would probably be your best bet

So this in tab 2:

BrandCustomer
HondaJim
FordTom
HondaBill
ChevyPuala
ChevyRick
FordVick

<tbody>
</tbody>

Would turn into this in tab 1:
BrandCustomer
ChevyPuala
Rick
FordTom
Vick
HondaBill
Jim

<tbody>
</tbody>

Would this work for you?
 
Upvote 0

Forum statistics

Threads
1,216,073
Messages
6,128,645
Members
449,461
Latest member
kokoanutt

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