+ Reply to Thread
Results 1 to 2 of 2

Help with IF formula that references cells that contain validated data from a drop-down

  1. #1
    Registered User
    Join Date
    03-12-2024
    Location
    Maryland, USA
    MS-Off Ver
    Office 365, Excel
    Posts
    1

    Help with IF formula that references cells that contain validated data from a drop-down

    So I am unable to upload a copy of what I have because of the sensitivity of the data but it is pretty simple to explain. I am using a current attendance spreadsheet that has drop-down lists (with validated data) to identify whether a student is absent, present, half day absent, or a bunch of other reason codes such as A20. There are some characters which are not on the keyboard, such as a check mark, which represents that a student was present that entire day. As it stands now there is a row at the right side of each month where you need to manually count the number of days present or absent etc. What I need, however, is to be able to create a formula that will check each cell for a specific date range (which I specify--and change if needed) and will count the number of days present and add them. So for example if it detects the check mark it should count this as 1 day present, if it detects the check mark with 1/2 next to it it will count that as .5, and any other option but those two will return a value of 0. I need to be able to tell at any given time for each student for any specific period of time how many days they were present and how many days they were absent and then I will plug those into a final formula that will give me the percentage of attendance for a specified time frame. I have started playing around with it but when I reference those cells that contain the validated data it throws a Name! error. Thank you so much for any help as I am not great at formulas yet!!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,981

    Re: Help with IF formula that references cells that contain validated data from a drop-dow

    Welcome to the forum.

    Please prepare a DESENSITISED small sample workbook.


    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Drop Down Data Validated AutoComplete In Multiple Cells
    By diddy47 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-15-2023, 12:31 PM
  2. [SOLVED] Conditional formulas using multiple data validated cells
    By dvess11 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2021, 02:41 AM
  3. [SOLVED] Find and list out values in Data validated cells
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-08-2016, 10:57 AM
  4. Data validated cells not updating in formula
    By DesireW in forum Excel General
    Replies: 1
    Last Post: 09-27-2010, 09:01 AM
  5. Replies: 0
    Last Post: 05-12-2005, 03:06 PM
  6. Indirect formula will not link to validated cells
    By DAMman21 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2005, 05:46 PM
  7. making a formula using validated drop list
    By soltek in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-07-2005, 04:07 PM

Tags for this Thread

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