Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lucas
 
Posts: n/a
Default Returning next value from a list

I have a spreadsheet where I use ISBLANK to populate a cell when a value is
entered in the cell next to it. I pull the values to populate with from a
list on another sheet. So my formula for cell Sheet1!A2 looks thus:
=IF(ISBLANK(B2),"",Sheet2!A2)

So far so good.

Now the additional requirement has been added to be able to skip one or more
rows when entering values and still get the next value in the list (as
opposed to the value that corresponds to the row number of the entered cell
on the other sheet).

Thanks in advance,

Chris Lucas
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Returning next value from a list

If I understand correctly...try this:

A2: =IF(ISBLANK(B2),"",INDEX(Sheet2!$A$2:$A$100,COUNTA (B$2:B2)))
Adjust range references to suit your situation and copy that formula down as
needed.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Lucas" wrote:

I have a spreadsheet where I use ISBLANK to populate a cell when a value is
entered in the cell next to it. I pull the values to populate with from a
list on another sheet. So my formula for cell Sheet1!A2 looks thus:
=IF(ISBLANK(B2),"",Sheet2!A2)

So far so good.

Now the additional requirement has been added to be able to skip one or more
rows when entering values and still get the next value in the list (as
opposed to the value that corresponds to the row number of the entered cell
on the other sheet).

Thanks in advance,

Chris Lucas

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lucas
 
Posts: n/a
Default Returning next value from a list

Bravo! Thank you so much. Worked like gangbusters.

CL

"Ron Coderre" wrote:

If I understand correctly...try this:

A2: =IF(ISBLANK(B2),"",INDEX(Sheet2!$A$2:$A$100,COUNTA (B$2:B2)))
Adjust range references to suit your situation and copy that formula down as
needed.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Lucas" wrote:

I have a spreadsheet where I use ISBLANK to populate a cell when a value is
entered in the cell next to it. I pull the values to populate with from a
list on another sheet. So my formula for cell Sheet1!A2 looks thus:
=IF(ISBLANK(B2),"",Sheet2!A2)

So far so good.

Now the additional requirement has been added to be able to skip one or more
rows when entering values and still get the next value in the list (as
opposed to the value that corresponds to the row number of the entered cell
on the other sheet).

Thanks in advance,

Chris Lucas

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
Data Validation and Blanks in List GoneRural Excel Worksheet Functions 1 October 26th 05 05:03 PM
HOW DO I MAKE VALIDATION LIST CONTAING DATA FROM A DIFFERENT BO CHAIM Excel Discussion (Misc queries) 1 September 29th 05 08:28 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Refresh a Validation List? jhollin1138 Excel Discussion (Misc queries) 3 February 17th 05 05:48 PM


All times are GMT +1. The time now is 03:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"