+ Reply to Thread
Results 1 to 4 of 4

Use the table to calculate differetn quantities

  1. #1
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Use the table to calculate differetn quantities

    hi, i started a spreadsheet yesterday and have gotten alot of help from the people on this forum. Thanks.
    in expanding more precise spreadsheet and for learning, i would like to add a quantity in the spreadsheet so that it does differetn quantities.
    For example:

    In B3, that is a set price for 1 item, and if i enter k3 the quantity so that it multiplies by b3

    this is what i have L3: =(k3*b3)
    that only works when i have a number entered, how can i write it so that if no quantity is entered, than equals to 1 ?

    I will attached my sample.
    Attached Files Attached Files
    Last edited by chubbychub; 10-25-2012 at 05:01 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Use the table to calculate differetn quantities

    hi chubbychub. like this?
    =IF(K3="",1,K3*B3)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    10-24-2012
    Location
    San Diego, USA
    MS-Off Ver
    Excel 2019
    Posts
    870

    Re: Use the table to calculate differetn quantities

    yeah, that works, but how come it gives me a whole bunch of 0 on the bottom (where i have no data currently), can you get rid of the of that?

    i am using like this: =IF(K3="","",K3*B3) and in K3 i enter a 1 but i have to enter a number in k3.

    I think waht i am asking is ambiguos result since i dont think excel will be able to tell if i have data required or just empty space.

  4. #4
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Use the table to calculate differetn quantities

    then try:
    =IF(A3="","",IF(K3="",1,K3*B3))

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1