How can I get adjacent values from one sheet and sum them up based on the content of another cell in the current sheet?

John Ernest Guadalupe

So what I exactly want to do is to be able to enter the item codes of our products into a cell. Now the cell adjacent to that, will then get the prices of our products which is on another sheet. That sheet also contains the item numbers so I believe I can use that I just don't know how.

Here is a sample sheet : https://goo.gl/zq4O7f

Each item has a Retail and Wholesale value. I want to get those values and then sum them up.

Robin Gertenbach

In E4 you enter:

=SUM(
    ARRAYFORMULA(ISNUMBER(FIND(Listings!$A$4:$A$33,C4)) * 
    IF(D4="Retail",
       Listings!$C$4:$C$33,
       Listings!$D$4:$D$33
    )
 )

It will check if the Item Number is in your list and Return True or False in an array.

Since it is the same as 1 and 0 we multiply that with either the Retail or Wholesale value.

Of that we take the sum.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Get Cell Content in one sheet to another

From Dev

How can I copy a column from one sheet to another sheet based on title in Excel?

From Dev

How can I reference a row in another sheet based on value in cell?

From Dev

How to copy cell values from multiple (but not all) rows and columns from one sheet to another sheet

From Dev

How do I pull values from one sheet to another, based on parameters?

From Java

How can I automatically add the data of one cell to another cell on another sheet?

From Dev

Copying row info from one sheet to another, based on cell input

From Dev

How do I automatically update cells to match values from another sheet when one cell is changed using data validation?

From Dev

How to copy values from one sheet and paste them into another using Google Sheets Macros?

From Dev

Take values ​from one sheet and save them on the other sheet based on the ID

From Dev

Hide columns in one sheet based on a cell from another sheet - Excel VBA

From Dev

Excel Formula - Get Value From Another Excel Sheet Based on Column in Current Sheet

From Dev

How to get cell value from google spread sheet which in any language and current time of spread sheet in JAVA

From Dev

Sum multiple values from another sheet

From Dev

Script for condition based copy cells from one sheet to another sheet

From Dev

Script for condition based copy cells from one sheet to another sheet

From Dev

Copying cell values from one sheet to another, and paste it near a cell with specific value

From Dev

How can I get sheet range(s) from a list of individual cell row and column positions?

From Dev

I am trying to get excel to pull data from one sheet and list it on another sheet if certain criteria are met

From Dev

How to access cell values from a Google Sheet?

From Dev

Excel Macro to copy select cells from a row from one sheet to another based upon a cell value

From Dev

Link the function from one cell to the same cell in another sheet

From Dev

Copy cell from on sheet to another, if other cell in row matches values

From Dev

How can I retrieve a specific cell value from another Excel sheet using this complex logic that find the row using another value?

From Dev

How to copy only formulas from one excel sheet which can dynamically grow to another sheet using macro

From Dev

How to copy only formulas from one excel sheet which can dynamically grow to another sheet using macro

From Dev

Microsoft Excel - how do I copy rows from one sheet to another sheet filtered by a value

From Dev

How do I copy data from one excel sheet to another excel sheet?

From Dev

Excel fill corresponding cells using information from another sheet based on one cell

Related Related

  1. 1

    Get Cell Content in one sheet to another

  2. 2

    How can I copy a column from one sheet to another sheet based on title in Excel?

  3. 3

    How can I reference a row in another sheet based on value in cell?

  4. 4

    How to copy cell values from multiple (but not all) rows and columns from one sheet to another sheet

  5. 5

    How do I pull values from one sheet to another, based on parameters?

  6. 6

    How can I automatically add the data of one cell to another cell on another sheet?

  7. 7

    Copying row info from one sheet to another, based on cell input

  8. 8

    How do I automatically update cells to match values from another sheet when one cell is changed using data validation?

  9. 9

    How to copy values from one sheet and paste them into another using Google Sheets Macros?

  10. 10

    Take values ​from one sheet and save them on the other sheet based on the ID

  11. 11

    Hide columns in one sheet based on a cell from another sheet - Excel VBA

  12. 12

    Excel Formula - Get Value From Another Excel Sheet Based on Column in Current Sheet

  13. 13

    How to get cell value from google spread sheet which in any language and current time of spread sheet in JAVA

  14. 14

    Sum multiple values from another sheet

  15. 15

    Script for condition based copy cells from one sheet to another sheet

  16. 16

    Script for condition based copy cells from one sheet to another sheet

  17. 17

    Copying cell values from one sheet to another, and paste it near a cell with specific value

  18. 18

    How can I get sheet range(s) from a list of individual cell row and column positions?

  19. 19

    I am trying to get excel to pull data from one sheet and list it on another sheet if certain criteria are met

  20. 20

    How to access cell values from a Google Sheet?

  21. 21

    Excel Macro to copy select cells from a row from one sheet to another based upon a cell value

  22. 22

    Link the function from one cell to the same cell in another sheet

  23. 23

    Copy cell from on sheet to another, if other cell in row matches values

  24. 24

    How can I retrieve a specific cell value from another Excel sheet using this complex logic that find the row using another value?

  25. 25

    How to copy only formulas from one excel sheet which can dynamically grow to another sheet using macro

  26. 26

    How to copy only formulas from one excel sheet which can dynamically grow to another sheet using macro

  27. 27

    Microsoft Excel - how do I copy rows from one sheet to another sheet filtered by a value

  28. 28

    How do I copy data from one excel sheet to another excel sheet?

  29. 29

    Excel fill corresponding cells using information from another sheet based on one cell

HotTag

Archive