VLOOKUP, IF function or any Function: To get value from left Validated cell drop down list & bring whole ROW record at right side.

yousafnoor

New Member
Joined
May 25, 2014
Messages
23
Dear Friends,

A: I have a worksheet of " Offshore Weekly Crew Change of Staff". I have all names (40 Names) in the left most column with validated (Drop down list). I need an Excel function to take any value from the left side validated drop down value and bring the corresponding ROW vales at right side. I need to bring 03 values only.

: I also need all staff can fill their names but the formula must remain intact even if some staff put manual value. Actually time to time staff is changing and manual entry is inevitable as well.
 
Last edited:

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
billinfo1info2info3
fredinfo4info5info6
harryinfo7info8info9
sidinfo10info11info12
tominfo13info14info15
harryinfo7info8info9
rather than a drop down just type a name into C10
and use this formula
=OFFSET($A$1,MATCH($C10,$A$2:$A$6,0),1)

<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Dear Oldbrewer

Thanks for the rely.
Actually there has to be a drop down list as I have only 12 rows to fill data as there are only 12 helicopter seat available for crew change.
On each week-day, I need to take only 12 no of staff from drop down (50 no of employees in each drop down list)I cannot make 50 rows, need only 12 rows and corresponding data of each staff who will embark/disembark to & from the copper.
I wish I could attach my excel sheet for further elaboration but no provision available.
 
Last edited:
Upvote 0
use google sheets
or
copy first 10 rows and paste into reply box

anyway, so do you have 12 identical drop down lists and choose a different name from each
 
Upvote 0
name2731233
name1idnumage
name213733
name314437
name415139
name515836
name616541
name717233
name817937
name918639
name1019336
name1120041
name1220733
name1321437
name1422139
the dropdown list is the list of names in col kname1522836
I selected name27 and the idnum and agename1623541
are obtained by a simole offset match formulaname1724233
name1824937
name1925639
name2026336
name2127041
name2227733
name2328437
name2429139
name2529836
name2630541
name2731233
name2831937
name2932639
name3033336

<colgroup><col width="64" span="15" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Dear Olbrewer

Many thanks for help. Actually I tried to use VLOOKUP with IFFERROR function to remove "#N/A" as 12 seats need to make available but employees are not always 12 Some time only 02 staff to be booked for helicopter weekly crew change.
The functions worked perfect but a problem still exists:
If less than12 passengers to be booked, the remaining cells contents to be deleted and then formula goes !

Can you please help on:

The formula must not be deleted but "clear contents" or "delete" action becomes possible. If formula is deleted then not all employees who book copter seat each week are Excel literate.

I used :

+IFERROR(VLOOP($D$2,$D$64,staff_list,column(B1),false),""), while ColumnB1 is nested inside VLOOKUP.
Please help all is working great only , if staff number is less than 12 then contents deletion deletes the formula as well?
 
Last edited:
Upvote 0
Is the helicopter booking "first come, first served" ? If so, the first 12 people to reserve a seat get to fly. Same goes for return trip....
 
Upvote 0
Dear Oldbrewer,

Once again thanks from the realms of my heart upon your time to help me. No sir, booking is in advance. We send the Excel sheet, which is in discussion, to the camp boss and He sends to the scheduler for actual manifest to be made.
If I protect formula, I cannot drag to fill the lower "deleted" rows, on less number of passengers. Any inadvertent booking costs our company 1000s of $.
Also staff is changing on transfer to other station, sacked, sick or on leave. Is it possible to make a macro button and fill the "formula-deleted" row with just one click?. The booking staff does not even know what is an absolute reference in Excel sheet?
They might call me middle of the night for problems. I have made a validation list of 62 people and relocated "named range list" to some other location and I can also hide the cells and keep only 12 rows for each week day.
The good thing is that VLOOKUP can communicate to the hidden cells a well.
 
Last edited:
Upvote 0
My problem is I cannot understand your issue. Individual members of staff "tell you when they need to fly out and back". So you send that list, containing say 2 to 12 names to the scheduler, and he books the flights. You could be informed of the need to fly in an Email. Keep it simple, that is my advice.
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,214
Members
449,074
Latest member
cancansova

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