+ Reply to Thread
Results 1 to 4 of 4

IF Formula confusion!

  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    Leeds, England
    MS-Off Ver
    13
    Posts
    1

    IF Formula confusion!

    Hi,

    I wonder if anyone can help me.

    I have created a spreadsheet to help with ticket sales. I have got everything working almost, but I want the spreadsheet to count tickets on reserve, and tickets that have actually been sold.

    I have this formula .. =IF(G10:G100 = "Sold", 350-C10:C100, 350-0)

    I want it to say that if the ticket says sold next to it then it can take the amount of tickets away from 350 (that's how many tickets I have to sell). But, if it says still reserved, I want it to do nothing, as I already have a calculator for that.

    The formula works if I just use =IF(G10 = "Sold", 350-C10, 350-0), but I want it to take the whole of the column, not just C10. I don't know how to give a range?

    Thanks!

    Liz.
    Last edited by Hliz96; 06-26-2019 at 10:19 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: IF Formula confusion!

    Post a sample spreadsheet with expected results, remove any sensitive data, create a mockup example if necessary.
    Use the Go Advanced option at the bottom of the page then scroll down to Manage Attachments as the "paperclip" method does not work on this forum.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF Formula confusion!

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does that work?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Registered User
    Join Date
    06-26-2019
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    26

    Re: IF Formula confusion!

    Hi Liz,

    It would be useful to have a sample of what you are trying to do, but based on the information supplied you may find using a different function may help.

    If you use COUNTIF or Countifs depending on your version, it will allow you to count the number of "Sold" in the range and that range could be the whole set of tickets.


    Let us know if we can be of more help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Index formula confusion
    By roskalov in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-27-2018, 06:48 AM
  2. [SOLVED] IF / OR Formula Confusion
    By Logit in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-01-2016, 12:17 AM
  3. Transpose formula confusion
    By rod bugnay in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 06-10-2016, 10:46 AM
  4. [SOLVED] Hourly AVG formula confusion
    By jakeisbill in forum Excel General
    Replies: 4
    Last Post: 04-20-2012, 08:41 AM
  5. Simple Formula Confusion
    By jayclinton in forum Excel General
    Replies: 7
    Last Post: 01-10-2011, 03:26 AM
  6. Formula confusion
    By gavster in forum Excel General
    Replies: 3
    Last Post: 04-03-2009, 08:29 AM
  7. Formula confusion
    By XCESIV in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-11-2006, 04:01 AM

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