Hi,
I've ran into a small problem. I'm a novice regarding excel so any help is welcome.
I have a spreadsheet, where I would need to make following:
- look in the row (11 and 12) for the following values: Unkown and Totals:
If Unkown is found then I would need following executed: =VLOOKUP($B11,MPC!$B$2:$D$10,3,FALSE)
If Totals: is found then the following:
=SUM(G4:G11)
Thanks for any help.
Regards,
George
Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.
Moved to Functions Forum
Hope that helps.
RoyUK
--------
If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need
For Excel consulting, free examples and tutorials visit Excel Consulting-Excel VBA
Check out the free Excel Toolbar
New members please read & follow the Forum Rules
Remember to mark your questions Solved and rate the answer(s)
Code Tags: Make your code easier for us to read
doesn't tell us much, is that in a specific column?look in the row (11 and 12)
best you attach a work book with sensitive data removed showing what you need,
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Hi Martin,
Thanks for the quick reply.
I've attached text.xls, I hope I included everything.
In my reports some of the tables will have Unknown and some of them won't. In B9:D12 values are copied over from another workbook. In E9:H12 are formulas which work with these data. But sometimes I will get Unkown and I will have to be able to make a difference in link 11 and 12 to be sure which formula is applied.
Thanks,
George
Any ideas?
Thanks,
G.
stiil not clear but
=if(b11="unknown team",some formula here,normal formula here)
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Hi Martin,
This helped thanks. Could you please let me know, if there's a formula that would allow me to:
Leave the cells E12:H12 empty if B2 is empty, but if it has value then applying the code provided by you (=if(b11="unknown team",some formula here,normal formula here)
Thanks,
G.
if you mean b12
=if(b12="","",if(b12="unknown team",some formula here,normal formula here))
or 0 instead of blank
=if(b12="",0,if(b12="unknown team",some formula here,normal formula here))
Mojito connoisseur and a dabbler in Cisco
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
Hi Martin,
Thanks for all your help.
It look like it works
George
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks