formula translation help, please.

kins

Board Regular
Joined
Jul 26, 2010
Messages
157
hi,


please could someone simplfy the below formula. i think i get the lookup part but i'm a little lost with the beginning.

=IF(ROWS(B$5:B5)<=COUNTIF(Lists!B:B,'Gender Profile'!B$5),VLOOKUP('Gender Profile'!B$5&ROWS(B$5:B5),Lists!A:C,3,0),"")
thanks in advance,

kins
 

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.
Basically,
Rows(B$5:B5) is going to be equal to 1 because you are only reffering to 1 cell

CountIF is going to count the number of values in col B that match B5 on gender profile

If 1 is less then or equal to the number of values in Col B that Match B5 on gender profile it will perform the Vlookup for the corresponding value. If it is false then it will be blank.

Not sure that really helps.
 
Upvote 0
thanks vbaco. not sure i get it, but i'll try and get my head round what you've posted.

i may get back to you :biggrin:
 
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,948
Latest member
UsmanAli786

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