ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Function returns a list (https://www.excelbanter.com/excel-worksheet-functions/148662-function-returns-list.html)

Rana

Function returns a list
 
Im searching for a function to do the following:
If Im talking about the cell D2 for example
check the value in C2, if it is a certain value for example (2) than D2
returns a value, for example (89), if and if its (7) I need D2 to give me a
list so I can choose the value that I want.


Barb Reinhardt

Function returns a list
 
It sounds like you are looking for some dependent lists. Take a look at the
link below and see if it gets you what you want.

http://www.contextures.com/xlDataVal02.html

HTH,
Barb Reinhardt

"Rana" wrote:

Im searching for a function to do the following:
If Im talking about the cell D2 for example
check the value in C2, if it is a certain value for example (2) than D2
returns a value, for example (89), if and if its (7) I need D2 to give me a
list so I can choose the value that I want.


Rana

Function returns a list
 
Thanks Barb, that's what I've been looking for.

"Barb Reinhardt" wrote:

It sounds like you are looking for some dependent lists. Take a look at the
link below and see if it gets you what you want.

http://www.contextures.com/xlDataVal02.html

HTH,
Barb Reinhardt

"Rana" wrote:

Im searching for a function to do the following:
If Im talking about the cell D2 for example
check the value in C2, if it is a certain value for example (2) than D2
returns a value, for example (89), if and if its (7) I need D2 to give me a
list so I can choose the value that I want.



All times are GMT +1. The time now is 11:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com