I have a work sheet that has lots of prices from things that we do and I am
wanting to put it into a page where if say B4 is Cookies then the price for
Cookies automatically pops up in C4, but I dont know how to go about doing
this. Please help. Excel 2007
|
|
0
|
|
|
|
Reply
|
Utf
|
4/27/2010 6:16:01 PM |
|
Rebecca wrote:
> I have a work sheet that has lots of prices from things that we do and I am
> wanting to put it into a page where if say B4 is Cookies then the price for
> Cookies automatically pops up in C4, but I dont know how to go about doing
> this. Please help. Excel 2007
http://www.contextures.com/xlFunctions02.html
|
|
0
|
|
|
|
Reply
|
Glenn
|
4/27/2010 6:41:18 PM
|
|
"Rebecca" wrote:
> I have a work sheet that has lots of prices from things
> that we do and I am wanting to put it into a page where
> if say B4 is Cookies then the price for Cookies
> automatically pops up in C4, but I dont know how to go
> about doing this.
We could provide better help if you provided some details. If Sheet1!A1:A10
contains cookie names and Sheet1!B1:B10 contains corresponding prices, then
put the following formula into C4:
=if(B4="", "", vlookup(B4,Sheet1!A1:B10,2,0)
|
|
0
|
|
|
|
Reply
|
Utf
|
4/27/2010 6:43:01 PM
|
|
Rebecca
You may need to explain a little more about your problem. I doubt whether
the price of Cookies is the only entry here.
If it is then
=IF(B4="cookies",1,"")
in C4 where cookies are $1.
You don't say how much they are. It would be better to have the price in
another part of the worksheet say d4 so the formula would be
-if(b4="cookies",D4,"")
The double quotes leaves the cell blank when b4 does not contain cookies.
--
Russell Dawson
Excel Student
Please hit "Yes" if this post was helpful.
"Rebecca" wrote:
> I have a work sheet that has lots of prices from things that we do and I am
> wanting to put it into a page where if say B4 is Cookies then the price for
> Cookies automatically pops up in C4, but I dont know how to go about doing
> this. Please help. Excel 2007
|
|
0
|
|
|
|
Reply
|
Utf
|
4/27/2010 6:51:01 PM
|
|
This is what I have. 1 sheet named Price list on this sheet I have about 300
types of lumber and material each type of lumber and material has a set
price. On the sheet I am trying to put together is to select a type of lumber
and when I select that type it will automatically put in the set price in the
next column.
=IF(B4="","",VLOOKUP(B4,'GP by job'!A75:B121,2,0)) this gives me #N/A
Let me know if you need further explaining...
"Joe User" wrote:
> "Rebecca" wrote:
> > I have a work sheet that has lots of prices from things
> > that we do and I am wanting to put it into a page where
> > if say B4 is Cookies then the price for Cookies
> > automatically pops up in C4, but I dont know how to go
> > about doing this.
>
> We could provide better help if you provided some details. If Sheet1!A1:A10
> contains cookie names and Sheet1!B1:B10 contains corresponding prices, then
> put the following formula into C4:
>
> =if(B4="", "", vlookup(B4,Sheet1!A1:B10,2,0)
|
|
0
|
|
|
|
Reply
|
Utf
|
4/27/2010 7:13:01 PM
|
|
See help on VLOOKUP
Or go to Debra Dalgleish's VLOOKUP info site.
http://www.contextures.on.ca/xlFunctions02.html
Note you can download a sample workbook.
Gord Dibben MS Excel MVP
On Tue, 27 Apr 2010 11:16:01 -0700, Rebecca <Rebecca
@discussions.microsoft.com> wrote:
>I have a work sheet that has lots of prices from things that we do and I am
>wanting to put it into a page where if say B4 is Cookies then the price for
>Cookies automatically pops up in C4, but I dont know how to go about doing
>this. Please help. Excel 2007
|
|
0
|
|
|
|
Reply
|
Gord
|
4/27/2010 7:20:45 PM
|
|
"Rebecca" wrote:
> This is what I have. 1 sheet named Price list on this
> sheet I have about 300 types of lumber and material
> each type of lumber and material has a set price.
Hmm.... Your original posting said you were dealing with cookies. It does
not matter. But it would be nice if you got your story straight. ;-)
> On the sheet I am trying to put together is to select
> a type of lumber and when I select that type it will
> automatically put in the set price in the next column.
>
> =IF(B4="","",VLOOKUP(B4,'GP by job'!A75:B121,2,0))
> this gives me #N/A
Read the VLOOKUP help page. #N/A usually indicates that the value of B4
could not be found in 'GP by job'!A75:A121.
But you said the sheet with the price list is called "Price List". So at a
minimum, I think you want:
=IF(B4="","",VLOOKUP(B4,'Price List'!A75:B121,2,0))
I am ass-u-me-ing that 'Price List'!A75:A121 is the lumber/material type,
and 'Price List'!B75:B121 is the corresponding price.
However, A75:A121 does not sound like "about 300" entries.
Moreover, note that each "type" name in 'Price List'!A75:A121 must be unique
(distinctive). I am concerned that if you mix "lumber" and "material" types,
there is a possibility for conflicts in the type names.
Be sure to avoid that problem. If you cannot and you need help solving the
problem, post a follow-up in this discussion.
----- original message -----
"Rebecca" wrote:
> This is what I have. 1 sheet named Price list on this sheet I have about 300
> types of lumber and material each type of lumber and material has a set
> price. On the sheet I am trying to put together is to select a type of lumber
> and when I select that type it will automatically put in the set price in the
> next column.
>
> =IF(B4="","",VLOOKUP(B4,'GP by job'!A75:B121,2,0)) this gives me #N/A
>
> Let me know if you need further explaining...
>
>
> "Joe User" wrote:
>
> > "Rebecca" wrote:
> > > I have a work sheet that has lots of prices from things
> > > that we do and I am wanting to put it into a page where
> > > if say B4 is Cookies then the price for Cookies
> > > automatically pops up in C4, but I dont know how to go
> > > about doing this.
> >
> > We could provide better help if you provided some details. If Sheet1!A1:A10
> > contains cookie names and Sheet1!B1:B10 contains corresponding prices, then
> > put the following formula into C4:
> >
> > =if(B4="", "", vlookup(B4,Sheet1!A1:B10,2,0)
|
|
0
|
|
|
|
Reply
|
Utf
|
4/27/2010 7:37:01 PM
|
|
|
6 Replies
154 Views
(page loaded in 0.121 seconds)
Similiar Articles: How to?? Exclude top 5% and bottom 5% and calculate an average per ...In a query, I have dates (1st row), and a number (2nd row). date1 -- 105 date1 -- 90 date1 -- 120 date2 -- 89 date2 -- 107 date2 -- 99 .... I need to calculate the ... How to write ten to the second power(10 square). - microsoft ...I am writing a report that requires this. ... ... Use superscript text. -- JoAnn Paules MVP Microsoft [Publisher] Tech Editor for "Microsoft Publisher 2007 For ... How to direct email to a specific folder - microsoft.public ...I want to direct mail that comes in under a certain address to a specific folder. I know that I should use "Rules," but I don't really understand h... How do you stack 3 words in one cell - microsoft.public.excel.misc ...I am trying to figure out how to put the text "monthly rental pmnts" all in one cell so that they stack on top of each other. Any suggestions? ... How do I keep the home tool bar on top - microsoft.public.word ...An hour ago the home tool bar stoped being displayed. I can restore it but every time i hit a key the tool bar disapers. How do I keep the tool bar ... How to tell if another process has a file open. - microsoft.public ...I have a service (written by another group that won't change it) that will be creating files but it takes a while to process those files. I have a ... How to: Open *.MSG File from Hard Drive via Code - microsoft ...I need to : Open *.MSG File from Hard Drive via Code and extract the file attachment. I have hundreds of these emails that we need the attachmen... how to upload resume using microsoft office - microsoft.public ...I would love to know what it means when it refers to not being in correct formatt doc or docx. I'm using microsoft vista. ... How to get watermark on all pages in Word 2007? - microsoft.public ...I have a simple 3-page document. I would like to put a watermark on all pages. To insert a watermark, I click on Page Layout | Watermark | Draft 1. ... How to tell if someone is blind copied on an email? - microsoft ...Is there a way to tell in outlook if someone was blind copied on an email. Or does that have to be done in Exchange? ... eHow | How to Videos, Articles & More - Discover the expert in you ...Learn how to do just about everything at eHow. Find expert advice along with How To videos and articles, including instructions on how to make, cook, grow, or do ... How To Do Things » How To Articles & How To VideosLearn how to do (almost) anything at HowToDoThings! Explore instructive how-to articles and videos – make things, solve problems, be happy! How To Directory | eHow.comBrowse How To articles in Travel, Health, Cars, Business, the Internet, Education, Weddings, Legal, Personal Finance, Arts & Entertainment, Pets, Parenting, Careers ... Wonder How To » Show & Tell for Creators & DoersWonder How To is your guide to free how to videos on the Web. Search, Browse and Discover the best how to videos across the web using the largest how to video index ... Instructables - Make, How To, and DIYInstructables is the Biggest How To and DIY community where people make and share inspiring, entertaining, and useful projects, recipes, and hacks. 7/13/2012 4:38:58 PM
|