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),quot;quot;,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
If I understand correctly...try this:
A2: =IF(ISBLANK(B2),quot;quot;,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-Proquot;Lucasquot; wrote:
gt; I have a spreadsheet where I use ISBLANK to populate a cell when a value is
gt; entered in the cell next to it. I pull the values to populate with from a
gt; list on another sheet. So my formula for cell Sheet1!A2 looks thus:
gt; =IF(ISBLANK(B2),quot;quot;,Sheet2!A2)
gt;
gt; So far so good.
gt;
gt; Now the additional requirement has been added to be able to skip one or more
gt; rows when entering values and still get the next value in the list (as
gt; opposed to the value that corresponds to the row number of the entered cell
gt; on the other sheet).
gt;
gt; Thanks in advance,
gt;
gt; Chris Lucas
Bravo! Thank you so much. Worked like gangbusters.
CL
quot;Ron Coderrequot; wrote:
gt; If I understand correctly...try this:
gt;
gt; A2: =IF(ISBLANK(B2),quot;quot;,INDEX(Sheet2!$A$2:$A$100,COUNTA (B$2:B2)))
gt; Adjust range references to suit your situation and copy that formula down as
gt; needed.
gt;
gt; Does that help?
gt;
gt; ***********
gt; Regards,
gt; Ron
gt;
gt; XL2002, WinXP-Pro
gt;
gt;
gt; quot;Lucasquot; wrote:
gt;
gt; gt; I have a spreadsheet where I use ISBLANK to populate a cell when a value is
gt; gt; entered in the cell next to it. I pull the values to populate with from a
gt; gt; list on another sheet. So my formula for cell Sheet1!A2 looks thus:
gt; gt; =IF(ISBLANK(B2),quot;quot;,Sheet2!A2)
gt; gt;
gt; gt; So far so good.
gt; gt;
gt; gt; Now the additional requirement has been added to be able to skip one or more
gt; gt; rows when entering values and still get the next value in the list (as
gt; gt; opposed to the value that corresponds to the row number of the entered cell
gt; gt; on the other sheet).
gt; gt;
gt; gt; Thanks in advance,
gt; gt;
gt; gt; Chris Lucas
- Apr 21 Sat 2007 20:37
Returning next value from a list
close
全站熱搜
留言列表
發表留言