Forum Discussion

PeterC007's avatar
PeterC007
Copper Contributor
Mar 16, 2023

Countifs - cell is a result of a formula

Hello,

 

I am trying to use countifs , however part of my count is using the result of an equation.

the result is a date based on a formula of a start date + 45 days.

the result cell is converted to a date.

The countifs is not counting this resulting date ... is this because of formula?

How would I be bale to count the resulting date (month).

9 Replies

  • PeterC007's avatar
    PeterC007
    Copper Contributor
    in addition the formula : = COUNTIFS($F$1:$F$474,$I29,$G$1:$G$474,T$28) where G$1:G$474 is a date based on a formula result
    • HansVogelaar's avatar
      HansVogelaar
      MVP

      PeterC007 

      Select column G and set the number format to General. You'll see numbers.

      Are they whole numbers like 45001, or do they (or at least some of them) contain a fractional part, for example 45001.929?

      (You can press Ctrl+Z to restore the original format)

      • PeterC007's avatar
        PeterC007
        Copper Contributor
        Gives a whole number when converting to general.

Resources