Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Microsoft Office support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Microsoft Office support MS Office support forum

Reply
 
LinkBack Thread Tools
Old 11-07-2007, 09:28 PM   #1 (permalink)
Registered User
 
Join Date: Nov 2007
Posts: 3
OS: Vista Business


Microsoft Excel 2007 Functions

This is where I am at: I created a new workbook ... with two sheets.

The first I named SALES ... the second TO BILL.

In the first one I have my customers f&l, what they purchased and the purchase price ... 4 different columns.

In the second (TO BILL) I used the insert function which automatically enters the customer in the same position from sheet one. Next column I have the amount paid. The column after that I have the balance due ... that I used function to automatically calculate the purchase price from sheet one, less the amount paid from sheet two.

Now ... problem ... can't figure this out with IF or LOOKUP. The next column is INVOICE and I want to automatically have a YES value inserted IF the balance due is greater than 0.

??? How do I do that?

The first row looks like this ...well second row ... I've frozen row one with the column names.

L Name | F Name | Paid | Balance | Invoice |

So my first entry is on line two ... the function I need is in E2. If there is an amount greater than 0 in D2 ... I need it to insert YES into E2??? If not ... than blank or no can be in there but not necessary. Does that make sense?

So ... I click in E2 ... select insert function ... select IF ... then I am lost... or confused from trying everything I can think of and getting nothing but errors. The one time I thought it was working ... I dragged the formula down ... but it put YES in every field.

When I click to insert function ... the window pops up with the following 3 lines that I need to insert something:

Logical_test ___________________________________ = logical

Value_if_true __________________________________ = any

Value_if_false _________________________________ = any

then click okay!

Anyone??? Thanks in advance!
Moto-Mgmt. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 11-08-2007, 03:13 AM   #2 (permalink)
Retired
 
Chevy's Avatar
 
Join Date: Jul 2003
Location: Notlob
Posts: 5,452
OS: Vista Ultimate

My System

Re: Microsoft Excel 2007 Functions

Iirc:

=if(d2 > 0,"yes","no")
Chevy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-08-2007, 09:34 AM   #3 (permalink)
Registered User
 
Join Date: Nov 2007
Posts: 3
OS: Vista Business


Re: Microsoft Excel 2007 Functions

Thank you ... I have tried this ... I get a YES for a 0 balance as well. Just to error shoot which is confusing me even more ... I eliminated the calculated field function ... entered a hard 0 and then I get the result I am looking for.
Moto-Mgmt. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-08-2007, 10:56 AM   #4 (permalink)
Registered User
 
Join Date: Nov 2007
Posts: 3
OS: Vista Business


Re: Microsoft Excel 2007 Functions

I do appreciate your help. I have tried the other option you mention as well. This has always worked for me in my previous versions.

My actual calculations: Both sheets row one is stationary ... always visible and names my columns. All data entry begins in row two. All $$$ are whole ... no cents.

Sheet1 Named SALES has 4 columns: All fields are manually entered.
L Name | F Name | Item | Cost

Sheet2 Named RECEIVED has 5 columns:

L Name | F Name | Paid | Balance | Invoice

Calculations/functions stated here:
Column1 Row2 auto enter from sheet1 ... used =LOOKUP("Sheet1!",Sales!A2,Sales!A2)
Column2 Row2 auto enter from sheet1 ... used =LOOKUP("Sheet1!",Sales!B2,Sales!B2) Column3 Row2 manual entry amount paid ...

Somewhere from this point on, something is wrong...

This (column4) works ... The difference from the cost of the item and the amount paid ...

Column4 Row2 auto enter ... used =IMSUB(Sales!D2,C2)

This doesn't ... Column 5 ... need a YES to display if there is a balance owed. And this is where I am stuck. If I manually enter a HARD ZERO it works ... not working with balance of zero from a calculated field. ???
Moto-Mgmt. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-25-2008, 11:32 AM   #5 (permalink)
Registered User
 
cwomack's Avatar
 
Join Date: Sep 2008
Location: Arkansas
Posts: 1
OS: Windows XP Pro SP3


Re: Microsoft Excel 2007 Functions

The "value" of the IMSUB function is actually text, so you can't look it up or reference it like a number.
cwomack is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-25-2008, 12:46 PM   #6 (permalink)
Folding Along
 
gistek's Avatar
 
Join Date: May 2007
Location: PA, USA
Posts: 1,908
OS: Bobbi=xp, sp3 Muse=Vista Home Premium


Send a message via AIM to gistek Send a message via Skype™ to gistek
Re: Microsoft Excel 2007 Functions

Your calculated zero might not be zero. There might be a hidden decimal somewhere in there. This can even happen if you only entered whole dollars in all the input fields and only use add or subtract finctions on them. (Gotta love MS, the only place in the whorld where 2+2=5)

Use the ROUND or ROUND UP function to force the result to be in integer or whole dollar format. It'll look something like this

=ROUND(yourformula,0)
or
=ROUNDUP(yourformula,0)

Next, make sure there are no dollar signs in your formula in Row 2. In your case, this is especially true regarding the row number part of each reference.

=("Sheet1!",Sales!B$2)-C2 will subtract the amount each customer paid from the amount the first customer owed.
__________________
I am not a computer professional, My advice comes from personal experience and/or friends who are computer professionals. Learn By Doing Un-versity
Interested in Search and Rescue? Check out the Civil Air Patrol.
Come Fold with us. TSF Folding@Home Team
gistek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 11:34 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85