Hot to refer to the right next cell in this formula?
=COUNTIF(Orders!A:A;A5)*( the cell to the right of the refered cell )
Means, multiply with the values on the cell at the right of A5 match cells.
Hot to refer to the right next cell in this formula?
=COUNTIF(Orders!A:A;A5)*( the cell to the right of the refered cell )
Means, multiply with the values on the cell at the right of A5 match cells.
Sounds like you want to use SUMPRODUCT
=SUMPRODUCT(--(Orders!A:A=A5), A5*Orders!B:B)
Does that work for you?
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
No because it's multiplying by 10, which is the value on Orders!B5 and for example on Orders!B8 i have again the referred COUNTIF A5 but now 5 items and the result it's 20, not 15.
Try
=SUMIF(Orders!A:A;A5;Orders!B:B)
"The formula you type contains an error"
Refresh your browser, I edited it to change a comma to a semicolon
Did you try my formula
=SUMPRODUCT(--(Orders!A:A=A5); A5*Orders!B:B)
?
Can you upload an example of what you have and what you want result to be? (Go Advanced > Manage Attachments)
Thank's Jonmo1, worked.
I have another problem to solve, can i post it here or do i have to open another topic?
You're welcome
I'd say go for another thread
Ok, i'll open a new one.
Once again thank's for help.
Hi Jonmo1.
I posted my workbooks on this new thread.
Can you take a look and tell me is it's possible to do what i intend to?
Thank's in advance.
http://www.excelforum.com/excel-form...t=#post3635967
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks