ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   checking the headings (https://www.excelbanter.com/excel-worksheet-functions/183788-checking-headings.html)

Christopher Naveen[_2_]

checking the headings
 
Hi,

I have a cols from A - FZ. I use to extract some report from the website and
daily i need to check the col headings whether it is matching or not. If the
extracted report does not matches my report heading then my formulas will not
work properly. I request you to help me on some function to check the col
headings

My report headings
A B C ---- FZ
Sl. No. Name Address Date

Extracted report headings
A B C ---- FZ
Sl. No. Name Address Date

If both the headings are not matching then it shud alert me. For exapmle in
the extracted report heading, Col C was changed to "XYZ" but my report
heading says "Address" so here the formual shud alert me saying that the cold
heading is not matching.

Can any one help me on this.

Thanks in advance!!

-Chris


Teethless mama

checking the headings
 
=SUMPRODUCT(COUNTIF('Extract Report'!A1:FZ1,'My Report'!A1:FZ1))=182


"Christopher Naveen" wrote:

Hi,

I have a cols from A - FZ. I use to extract some report from the website and
daily i need to check the col headings whether it is matching or not. If the
extracted report does not matches my report heading then my formulas will not
work properly. I request you to help me on some function to check the col
headings

My report headings
A B C ---- FZ
Sl. No. Name Address Date

Extracted report headings
A B C ---- FZ
Sl. No. Name Address Date

If both the headings are not matching then it shud alert me. For exapmle in
the extracted report heading, Col C was changed to "XYZ" but my report
heading says "Address" so here the formual shud alert me saying that the cold
heading is not matching.

Can any one help me on this.

Thanks in advance!!

-Chris


AdamV

checking the headings
 
laborious but it would work:
=if(A1&B1&c1&...FZ1<[same thing for other worksheet],"Some error message","")

you could also use a macro to check each corresponding cell in turn

"Christopher Naveen" wrote:

Hi,

I have a cols from A - FZ. I use to extract some report from the website and
daily i need to check the col headings whether it is matching or not. If the
extracted report does not matches my report heading then my formulas will not
work properly. I request you to help me on some function to check the col
headings

My report headings
A B C ---- FZ
Sl. No. Name Address Date

Extracted report headings
A B C ---- FZ
Sl. No. Name Address Date

If both the headings are not matching then it shud alert me. For exapmle in
the extracted report heading, Col C was changed to "XYZ" but my report
heading says "Address" so here the formual shud alert me saying that the cold
heading is not matching.

Can any one help me on this.

Thanks in advance!!

-Chris



All times are GMT +1. The time now is 01:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com