+ Reply to Thread
Results 1 to 9 of 9

If Statement to calculate two sheets to main sheet if matches all 3 sheets

  1. #1
    Registered User
    Join Date
    04-02-2020
    Location
    australia
    MS-Off Ver
    Professional PLus 2016
    Posts
    22

    If Statement to calculate two sheets to main sheet if matches all 3 sheets

    Hi Guys,
    I can't work out how to write if statement if I have three sheets with the same Cell name "Test", but I want to pull calculation from Sheet 1&2 to Sheet3, if there is a match on all three sheets e.g:
    - Sheet1 in column C = "Test", column E = "$100"
    - Sheet2 in column C = "Test", column E = "100%"
    - Sheet3 in column B = "Test", column F, I need calculation Sheet1 "$100" x Sheet2 "100%" = "$300"

    Can someone help me?

    Thanks
    Kitsa
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    02-19-2020
    Location
    SE-Asia
    MS-Off Ver
    2019
    Posts
    98

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    - Sheet3 in column B = "Test", column F, I need calculation Sheet1 "$100" x Sheet2 "100%" = "$300"
    How do you get to $300 ? ($100 * 100% = $100)

  3. #3
    Registered User
    Join Date
    04-02-2020
    Location
    australia
    MS-Off Ver
    Professional PLus 2016
    Posts
    22

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    You are correct. My bad. I just need to know how to write this statement for it to work.

  4. #4
    Registered User
    Join Date
    02-19-2020
    Location
    SE-Asia
    MS-Off Ver
    2019
    Posts
    98

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    Edit: Will not work as it will only deal with 2 Sheets, and NOT the 3rd.

    Try this

    Please Login or Register  to view this content.
    I didn't use TEST but the actually ID as you didn't change it in the sheet

    If one of them is NOT the same as ID it will default to 0
    Last edited by iammike; 11-23-2022 at 03:53 AM.

  5. #5
    Registered User
    Join Date
    02-19-2020
    Location
    SE-Asia
    MS-Off Ver
    2019
    Posts
    98

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    New and improved (This for F3 in Client Invoice)

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    04-02-2020
    Location
    australia
    MS-Off Ver
    Professional PLus 2016
    Posts
    22

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    Hi Iammike,
    This work for individual line if has the name "EQ15111", each line will be different so it won't work on all line when I copy cell.

  7. #7
    Registered User
    Join Date
    02-19-2020
    Location
    SE-Asia
    MS-Off Ver
    2019
    Posts
    98

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    Last try before I let someone more experienced take over

    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    04-02-2020
    Location
    australia
    MS-Off Ver
    Professional PLus 2016
    Posts
    22

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    Sorry, no good.
    Thanks heaps for trying.

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,543

    Re: If Statement to calculate two sheets to main sheet if matches all 3 sheets

    If I understand correctly then I feel that you are looking for something like the following to populate cell F3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Adding data to new sheets from main sheet
    By Norman8088 in forum Excel General
    Replies: 4
    Last Post: 08-21-2018, 01:04 PM
  2. [SOLVED] Create 2 sheets from main sheet
    By PRADEEPB270 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2017, 02:01 AM
  3. [SOLVED] how to main sheet separating the other sheets?
    By wiliam_s in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-15-2016, 06:23 PM
  4. Main Sheet to calculate as new sheets are added.
    By Dibbley247 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2015, 02:28 PM
  5. [SOLVED] Add Sheets and Hyperlinks to that sheets with main sheet
    By deepak.sirsale in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2013, 10:38 AM
  6. [SOLVED] Splitting Worksheets from Main sheet into several sheets
    By surk. in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-06-2012, 04:57 PM
  7. Creating New Sheets from Main Sheet
    By samfarrugia in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-23-2012, 01:10 PM

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