Hi all,
I am a total newbie in VBA. I tried to do this using Excel functions but I don't think it can be done, I tried writing my own VBA function but iI just don't know enough. Here's the scenario:
Workbook has two sheets with same sized tables with different values and sometimes text.
I want to create a table in a third sheet like this:
- Compare two tables cell by cell. If both cells contain text, print ***** in the new table.
- If one or both cells contain a number, print the minimum in the third table
(This is as far as I got with Excel functions)
Additionally, if this minimum number comes from sheet 1, give the cell a certain color, if it comes from sheet2, give it a different color. (I tried conditional formatting for this but I get an error that other worksheets can not be referenced for conditional formatting).
I can place the tables in the same locations if needed, but I prefer a function where I can select the ranges to be compared for the new table.
Any help will be GREATLY appreciated!
Thanks!
F
Bookmarks