BIG question!

newbie_excel

New Member
Joined
Feb 17, 2007
Messages
23
Hi Guys, hope someone can help me out here!
OK here's the problem. My sheet looks like this:

A B C
21/07 tester 1
22/07 tester 2
21/07 tester b
23/08 tester 4
23/03 tester c

Where values in column A are dates, column B are usernames and C are membership types.
I want to create a formula which I can put onto a new sheet so that if values in column C are numbers above 2 (currently using 1, 2, 3 & 4) or letters (currently using a, b or c) then the cell with the formula displays the date and the username.

Hope you understand what I'm after!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
24,318
=IF(INDEX(Sheet1!C:C,row(),1))>2,INDEX(Sheet1!AA,row(),1)&INDEX(Sheet1!BB,row(),1),"")
 

dave3009

Well-known Member
Joined
Jun 23, 2006
Messages
7,128
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
  2. Mobile
  3. Web
Hi There

If the C column could be changed then you could use VLOOKUP for that

Say your range (As above but with C now in A) was A2:C7

Then in your new sheet B2 have

=VLOOKUP($A2, Sheet1!$A$2:$C$7, 2, 0)

And change that 2 to 3 for username

HTH


Dave
 

Forum statistics

Threads
1,181,406
Messages
5,929,759
Members
436,687
Latest member
Glass of Gin

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
Top