I need a formula that will look at sheet1 column A and based on that cell find the coresponding sheet in the same workbook. When sheet is located I need sum if or sumproduct formula that will look at the column C and find all "sales" and then go to column E and subtotal all amounts that have " sales" in column C. This formula will be placed on sheet 1 column B
Thank you
Would you like to upload a sample workbook for this???
Regards
Fotis.
I am proud that i am Greek.
Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Please,mark your thread [SOLVED] if you received your answer.
My Avadar picture, is from Athens Acropolis.
http://www.theacropolismuseum.gr
http://www.visitgreece.gr/
Hope this help:
In B1:
Joking=SUMIF(INDIRECT(A1&"!C:C"),"sales",INDIRECT(A1&"!E:E"))
:You look like a tourist guide!![]()
Last edited by bebo021999; 02-09-2012 at 02:20 PM.
Click the star icon in left-corner of my post if you find my post userful!
Quang PT
quangphanidico@yahoo.com
PM me: Y!M: quangphanidico
Hi Bebo,
Formula works perfect,
What about adding additional item to be sumed for eaxmple "sales" and 2nd item "stores". Can that be added to this formula or I need to copy paste same formula and change tha name from sales to stores?
=SUMPRODUCT(((INDIRECT(A1&"!C:C")="sales")+(INDIRECT(A1&"!C:C")="stores"))*INDIRECT(A1&"!E:E"))
Hope this help!
Click the star icon in left-corner of my post if you find my post userful!
Quang PT
quangphanidico@yahoo.com
PM me: Y!M: quangphanidico
Try this in any cell you want:
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,256)
to pick up your current tab name automatically.
If it doesnt help, try to upload an example file to get it solved soonest.
Click the star icon in left-corner of my post if you find my post userful!
Quang PT
quangphanidico@yahoo.com
PM me: Y!M: quangphanidico
Here is attached example.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks