A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

trying to write a formula ivolving data validation



 
 
Thread Tools Display Modes
  #1  
Old May 25th, 2005, 10:35 AM
melben
external usenet poster
 
Posts: n/a
Default trying to write a formula ivolving data validation


Is it possible to write a formula for my example below


1 cell has a list in it e.g. Beverage, food, Accomodation.

If you select beverage, cells b15,c15,d15 all change colour
If you selected food, cells b16,c16,d16 all change colour.

In another worksheet I want to be able to click on a cell and depending
on whether i have beverage or food selected from my list the answer
appears in my selected cell.

Does this make sense and is it possible

Cheers


--
melben
------------------------------------------------------------------------
melben's Profile: http://www.excelforum.com/member.php...o&userid=23619
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #2  
Old May 25th, 2005, 10:38 AM
mangesh_yadav
external usenet poster
 
Posts: n/a
Default


In the same file and a different sheet, or altogether different file.
Alos, you want the data to be displayed on merely selecting a cell..?

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #3  
Old May 25th, 2005, 01:11 PM
melben
external usenet poster
 
Posts: n/a
Default


another sheet in the same workbook.

I will have a link setup so that the information is displayed in that
cell.

Its like a summary sheet and that why I need to be able to write the
formula which can differentiate btween a drop down list.


--
melben
------------------------------------------------------------------------
melben's Profile: http://www.excelforum.com/member.php...o&userid=23619
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #4  
Old May 25th, 2005, 01:14 PM
mangesh_yadav
external usenet poster
 
Posts: n/a
Default


you could simple write a formula like:
=Sheet1!A1

where A1 contains the value you want to carry forward to the other
sheet.

Or am I missing something...?

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #5  
Old May 25th, 2005, 01:29 PM
melben
external usenet poster
 
Posts: n/a
Default


I didnt explain it properly,

When I select from my list lets say Food which makes cell b16 change
colour, and when I select beverage from my list which makes b17 change
colour.

But on my other worksheet I only have 1 space for food and beverage, so
I need the formula to be able to differentiate between when food is
selected and give me the text from cell b16 and when beverage is
selected and give me the text from cell b17,

Is that a bit better ??


--
melben
------------------------------------------------------------------------
melben's Profile: http://www.excelforum.com/member.php...o&userid=23619
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #6  
Old May 25th, 2005, 01:33 PM
mangesh_yadav
external usenet poster
 
Posts: n/a
Default


Yes much better.
Enter in sheet2, whatever cell
=IF(Sheet1!A1="foods",b16,b17)

where A1 in sheet 1 contains the foods/beverages list

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #7  
Old May 25th, 2005, 01:35 PM
melben
external usenet poster
 
Posts: n/a
Default


but i need to get the beverage text aswell, so can it be written with
beverage in the formula as well??


--
melben
------------------------------------------------------------------------
melben's Profile: http://www.excelforum.com/member.php...o&userid=23619
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #8  
Old May 25th, 2005, 01:38 PM
mangesh_yadav
external usenet poster
 
Posts: n/a
Default


The above formula will give the result for foods, when food is selected,
and when beverage is selected, it will give the beverage results.

If you don't need the above scenario, then can you explain your
position what it is right now in sheet1.

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=373824

  #9  
Old May 25th, 2005, 01:42 PM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default

You can use conditional formatting to colour the cells based on what is
selected. There are instructions in Excel's help, and he

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

To create the dropdown list on the other worksheet, you can use a
dependent list. There are instructions he

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

melben wrote:
Is it possible to write a formula for my example below


1 cell has a list in it e.g. Beverage, food, Accomodation.

If you select beverage, cells b15,c15,d15 all change colour
If you selected food, cells b16,c16,d16 all change colour.

In another worksheet I want to be able to click on a cell and depending
on whether i have beverage or food selected from my list the answer
appears in my selected cell.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #10  
Old May 25th, 2005, 01:46 PM
melben
external usenet poster
 
Posts: n/a
Default


I have 3 drop down lists on sheet 1
- 1 for food, beverage
- 1 for dinner food
- 1 for dinner drinks

In the first drop down list if I select food the cell ( b16 ) changes
colour and that is where the next drop down list for Dinner food is.

But alternatively if I select beverage then the cell ( b17 ) changes
colour and that is where the dinner drinks drop down list is

On Sheet 2 I have 1 cell ( c20 ) which will be for either food or
drinks

so i need a formula for cell c20 so that it can show the result of my
earlier choices ( being that if I first selected food or if I had
selected beverage )

Is that a bit clearer ??


--
melben
------------------------------------------------------------------------
melben's Profile: http://www.excelforum.com/member.php...o&userid=23619
View this thread: http://www.excelforum.com/showthread...hreadid=373824

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Data validation, cell protection or other method? KG General Discussion 5 June 17th, 2005 05:22 AM
HELP: Data > Validation ---List ----Formula amit Worksheet Functions 3 April 15th, 2005 01:38 PM
Summation Formula Help / Data Validation Question(s) AG Worksheet Functions 0 June 24th, 2004 03:23 AM
Restricting cell data to unique entries? Jones General Discussion 11 June 23rd, 2004 04:05 PM
Excel2000: Data validation using values returned by named ranges Arvi Laanemets Worksheet Functions 4 May 7th, 2004 09:18 PM


All times are GMT +1. The time now is 06:52 PM.


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