OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Having trouble creating auto filling cells based off a list

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
FaceLifter
Newbie
Newbie


Joined: 26 Oct 2008
Posts: 1

PostPosted: Sun Oct 26, 2008 4:06 pm    Post subject: Having trouble creating auto filling cells based off a list Reply with quote

I am trying to create a sheet that references information off of another sheet.

I have sheetA that with a list of first names, last names, scheduled hours, and worked hours.

On sheetB I have created a drop-down list of the first names on sheetA by using validity>cell ranges.

What I am now trying to do is have the next column in sheetB automatically fill in the last name from sheetA, once the first name is chosen.

Then about 3 cells over I want to automatically fill in the scheduled hours based off of the first name chosen, but I attempted this yet.

I hope that explains it.

I've tried to create multiple IF statements since there are only 34 rows. But I couldn't get more than one IF statement to work.

=IF(B12=$sheetA.B11;$sheetA.C11);IF(B12=$sheetA.B12;$sheetA.C12)

I've also tried VLOOKUP, but I'm not sure how to get it to work.
Back to top
View user's profile Send private message
corona
Newbie
Newbie


Joined: 26 Oct 2008
Posts: 3

PostPosted: Mon Oct 27, 2008 2:34 am    Post subject: Reply with quote

Hehe, that's funny, i've just got a great reply to basically the same question, here: http://www.oooforum.org/forum/viewtopic.phtml?t=76511
Maybe this is an often asked question, although nothing I tried searching for brought it up.

Good Luck!
Andrew
Back to top
View user's profile Send private message
rajaiskandarshah
General User
General User


Joined: 08 Nov 2005
Posts: 11
Location: Malaysia

PostPosted: Fri Oct 31, 2008 7:13 pm    Post subject: Reply with quote

you need to use the =vlookup function

here is a similar example:
http://www.oooforum.org/forum/viewtopic.phtml?t=76576

you can probably get a better understanding in my blog post
http://software.krimnet.com/open-source/how-lookup-city-and-state-based-zipcode.htm

Idea
_________________
http://rajaiskandarshah.blogspot.com
http://software.krimnet.com/blogs/rajaiskandarshah
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group