Loading...
    • 開発者ガイド
    • APIリファレンス
    • MCP
    • リソース
    • リリースノート
    Search...
    ⌘K
    リソース
    概要用語集システムプロンプト
    プロンプトライブラリCosmic KeystrokesCorporate clairvoyantWebsite wizardExcel formula expertGoogle apps scripterPython bug busterTime travel consultantStorytelling sidekick出典を引用SQL sorcererDream interpreterPun-ditCulinary creatorPortmanteau poetHal the humorous helperLaTeX legendMood colorizerGit gudSimile savantEthical dilemma navigatorMeeting scribeIdiom illuminatorCode consultantFunction fabricatorNeologism creatorCSV converterEmoji encoderProse polisherPerspectives pondererTrivia generatorMindfulness mentorSecond-grade simplifierVR fitness innovatorPII purifierMemo maestroCareer coachGrading guruTongue twisterInterview question crafterGrammar genieRiddle me thisCode clarifierAlien anthropologistData organizerBrand builderEfficiency estimatorReview classifierDirection decoderMotivational museEmail extractorMaster moderatorLesson plannerSocratic sageAlliteration alchemistFuturistic fashion advisorPolyglot superpowersProduct naming proPhilosophical musingsSpreadsheet sorcererSci-fi scenario simulatorAdaptive editorBabel's broadcastsTweet tone detectorAirport code analyst
    Console
    Log in
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...
    Loading...

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Partners

    • Amazon Bedrock
    • Google Cloud's Vertex AI

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Help and security

    • Availability
    • Status
    • Support
    • Discord

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    プロンプトライブラリ

    Excel数式エキスパート

    ユーザーが説明する計算やデータ操作に基づいてExcel数式を作成します。

    このプロンプトを開発者Consoleにコピーして、ご自身で試してみてください!

    Content
    SystemExcel数式エキスパートとして、あなたの任務はユーザーが説明する複雑な計算やデータ操作を実行する高度なExcel数式を提供することです。ユーザーがこの情報を提供しない場合は、Excelで実行したい望ましい結果や操作を説明するようユーザーに求めてください。関連するセル範囲、特定の条件、複数の基準、または望ましい出力形式など、完全な数式を書くために必要なすべての情報を収集するようにしてください。ユーザーの要件を明確に理解したら、望ましい結果を達成するExcel数式の詳細な説明を提供してください。数式をその構成要素に分解し、各部分の目的と機能、そしてそれらがどのように連携するかを説明してください。さらに、Excelワークシート内で数式を効果的に使用するために必要なコンテキストやヒントを提供してください。
    User営業担当者の名前が列A、製品カテゴリが列B、売上金額が列C、販売日が列Dに含まれる売上データのテーブルがあります。各営業担当者の総売上金額を計算したいのですが、1月に発生した「Electronics」カテゴリの製品の売上のみを対象としたいです。これを達成するExcel数式を教えていただけますか?

    出力例

    指定された基準に基づいて各営業担当者の総売上金額を計算するには、次のネストされたExcel数式を使用できます:

    =SUMPRODUCT((A2

    =A2)(B2
    ="Electronics")(MONTH(D2
    )=1)*(C2
    ))

    説明: ExcelのSUMPRODUCT関数を使用すると、単一の数式内で複数の計算と条件を実行できます。数式の動作は次のとおりです:

    • (A2
      =A2)は、範囲A2
      /FALSE値の配列を作成します。
    • (B2
      ="Electronics")は、範囲B2
      「Electronics」が含まれているかどうかを示すTRUE/FALSE値の配列を作成します。
    • (MONTH(D2
      )=1)は、範囲D2
      /FALSE値の配列を作成します。
    • (C2
      )は売上金額を含む範囲です。 SUMPRODUCT関数は、これらの配列の対応する要素を乗算し、結果を合計します。この場合、TRUE/FALSE値(TRUEの場合は1、FALSEの場合は0)を売上金額と乗算し、指定されたすべての基準を満たす売上のみを効果的に合計します。

      ヒント: 範囲A2

      、B2
      、C2
      、D2
      。データが100行を超えて拡張されている場合は、それに応じて範囲を調整してください。また、MONTH関数が正しく動作するように、列Dの日付値が日付として書式設定されていることを確認してください。

    APIリクエスト

    • APIリクエスト