Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
今から 24 時間以内の列の項目をカウントする Excel 式を探しています()。
薬の投与量を保持する列があり、常に過去 24 時間以内に服用した投与量だけを集計するフィールドが必要です。
ありがとう!
NOW() から 1 を引くだけで、ちょうど 24 時間前になります。したがって、式は次のようになります
=COUNTIF(A2:A4,">"&NOW()-1)
A2:A4 を、カウントしたい値を持つセルの範囲に置き換えてください。