728x90_weltweit-handeln_smartbrokerplus
728x90_weltweit-handeln_smartbrokerplus
Anzeige


Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

The Xreference function – difference to Sreference and Wreference

The Vreference and Hreference functions have been around in Excel for a very long time, and they’re also great for querying specific data from a table based on a search criteria. In August 2019, however, a new function in Excel was released as a beta version, which is now also fully available for users of Office 365 and Office 2021. It is about the Xreference in Excel, with which you can not only save on Vreference and Wreference, but this function also fixes some weaknesses that were there in the previously mentioned functions and where users had to work with workarounds again and again to fix them bypass.

Die Xverweis Funktion - Unterschied zu Sverweis und Wverweis

Themenübersicht

Anzeige

As always, Office 365 users are ahead of the game when it comes to new functions, but over the years the Xreference should be everywhere.
In our little tutorial, we would like to explain the direct comparison using a practice-oriented example, and here you will quickly see where the weaknesses of the Vreference are compared to the Xreference.

The Xreference function – difference to Sreference and Wreference

The Vreference and Hreference functions have been around in Excel for a very long time, and they’re also great for querying specific data from a table based on a search criteria. In August 2019, however, a new function in Excel was released as a beta version, which is now also fully available for users of Office 365 and Office 2021. It is about the Xreference in Excel, with which you can not only save on Vreference and Wreference, but this function also fixes some weaknesses that were there in the previously mentioned functions and where users had to work with workarounds again and again to fix them bypass.

Die Xverweis Funktion - Unterschied zu Sverweis und Wverweis

Themenübersicht

Anzeige

As always, Office 365 users are ahead of the game when it comes to new functions, but over the years the Xreference should be everywhere.
In our little tutorial, we would like to explain the direct comparison using a practice-oriented example, and here you will quickly see where the weaknesses of the Vreference are compared to the Xreference.

How does the Xreference work in Excel

In order to show the functionality and the difference to Sreference and Wreference in Excel as transparently and practically as possible, we have created a sample table with different products from a furniture store including batch numbers, versions and storage locations. The aim should be to use a number [column B] to automatically display all the remaining properties of the product in question.

So far that’s not a problem at all and can be easily solved as usual either with an Vreference or an index function. In our case, however, the main focus should be on the weaknesses of the V reference and how we can solve them better using the Xreference.

See fig. (click to enlarge)

Beispiel Xverweis und Sverweis

With the Xreference, the formula looks like this when we enter the number [ex. No.12] want to determine the remaining values:

=XREFERENCE(J4;table1[number];table1

;“not found“;0;1)

With the Sreference, the formula looks a bit more spartan if you want to determine the remaining values:

=VREFERENCE(J13,Table1[[Number]:[ProductName]],2,TRUE)

Both functions serve their purpose, but work quite differently. Because while the Vreference reacts immediately with error messages as soon as there are changes to the basic table, the Xreference is much more flexible.

Difference: 1
If we move column B to a different position in our original table and swap it with column C

, for example, there are immediately error messages with the Sreference because the references are missing. Because the search direction for the reference is always from left to right. The Xreference, on the other hand, changes its search direction automatically when columns or rows are moved and thus still returns the correct results.

Difference: 2
With the Xreference, we have the option of an alternative [e.g. Text] to enter if a value should not be found. This is sort of a built-in IF-THEN function. In this way, user-defined error messages [in our example „not found“] can be output if a value is not found in the list.

Difference: 3
If we go beyond the list with a search for the Sreference and look for the number 16 [which does not exist] in relation to our example table, then instead of error messages, the results of the last entry are simply output. So here are the product specifications of number 15. With a list as small as ours, that’s still possible, but consider a list with hundreds or even thousands of lines. Then you will very quickly have incorrect results.

See fig. (click to enlarge)

Falscher Wert bei Sverweis vs. Xverweis
Spalte verschoben -Sverweis gibt Fehler aus

As you have certainly seen, the Xreference offers advantages and more potential compared to the Sreference and the Wreference. And of course you can nest and combine the Xreference with other functions in Excel as well. For all those who want to have this function in any case, as already mentioned, the only option is to buy Office 2021 or Office 365.

You can download the table used here free of charge and try it out a bit.

How does the Xreference work in Excel

In order to show the functionality and the difference to Sreference and Wreference in Excel as transparently and practically as possible, we have created a sample table with different products from a furniture store including batch numbers, versions and storage locations. The aim should be to use a number [column B] to automatically display all the remaining properties of the product in question.

So far that’s not a problem at all and can be easily solved as usual either with an Vreference or an index function. In our case, however, the main focus should be on the weaknesses of the V reference and how we can solve them better using the Xreference.

See fig. (click to enlarge)

Beispiel Xverweis und Sverweis

With the Xreference, the formula looks like this when we enter the number [ex. No.12] want to determine the remaining values:

=XREFERENCE(J4;table1[number];table1

;“not found“;0;1)

With the Sreference, the formula looks a bit more spartan if you want to determine the remaining values:

=VREFERENCE(J13,Table1[[Number]:[ProductName]],2,TRUE)

Both functions serve their purpose, but work quite differently. Because while the Vreference reacts immediately with error messages as soon as there are changes to the basic table, the Xreference is much more flexible.

Difference: 1
If we move column B to a different position in our original table and swap it with column C

, for example, there are immediately error messages with the Sreference because the references are missing. Because the search direction for the reference is always from left to right. The Xreference, on the other hand, changes its search direction automatically when columns or rows are moved and thus still returns the correct results.

Difference: 2
With the Xreference, we have the option of an alternative [e.g. Text] to enter if a value should not be found. This is sort of a built-in IF-THEN function. In this way, user-defined error messages [in our example „not found“] can be output if a value is not found in the list.

Difference: 3
If we go beyond the list with a search for the Sreference and look for the number 16 [which does not exist] in relation to our example table, then instead of error messages, the results of the last entry are simply output. So here are the product specifications of number 15. With a list as small as ours, that’s still possible, but consider a list with hundreds or even thousands of lines. Then you will very quickly have incorrect results.

See fig. (click to enlarge)

Falscher Wert bei Sverweis vs. Xverweis
Spalte verschoben -Sverweis gibt Fehler aus

As you have certainly seen, the Xreference offers advantages and more potential compared to the Sreference and the Wreference. And of course you can nest and combine the Xreference with other functions in Excel as well. For all those who want to have this function in any case, as already mentioned, the only option is to buy Office 2021 or Office 365.

You can download the table used here free of charge and try it out a bit.

Bestseller Office Software

[atkp_list id=’32002′ template=’comparetable‘][/atkp_list]

Blogverzeichnis Bloggerei.de

Bestseller Office Software

[atkp_list id=’32002′ template=’comparetable‘][/atkp_list]

Blogverzeichnis Bloggerei.de

Suche nach:

Über den Autor:

Michael W. Suhr | Baujahr 1974Dipl. Betriebswirt | Webdesign- und Beratung | Office Training
Nach 20 Jahren in der Logistik habe ich mein Hobby welches mich seit Mitte der 1980er Jahre begleitet zum Beruf gemacht, und bin seit Anfang 2015 als Freelancer im Bereich Webdesign, Webberatung und Microsoft Office tätig. Nebenbei schreibe ich soweit es die Zeit zulässt noch Artikel für mehr digitale Kompetenz in meinem Blog.
Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

Artikelsuche nach Kategorie:

Suche nach:

Über den Autor:

Michael W. Suhr | Baujahr 1974Dipl. Betriebswirt | Webdesign- und Beratung | Office Training
Nach 20 Jahren in der Logistik habe ich mein Hobby welches mich seit Mitte der 1980er Jahre begleitet zum Beruf gemacht, und bin seit Anfang 2015 als Freelancer im Bereich Webdesign, Webberatung und Microsoft Office tätig. Nebenbei schreibe ich soweit es die Zeit zulässt noch Artikel für mehr digitale Kompetenz in meinem Blog.
Transparenz: Um diesen Blog kostenlos anbieten zu können, nutzen wir Affiliate-Links. Klickst du darauf und kaufst etwas, bekommen wir eine kleine Vergütung. Der Preis bleibt für dich gleich. Win-Win!

Artikelsuche nach Kategorie:

Popular Posts:

1303, 2026

Festplatte & USB-Stick unsichtbar? Die besten Lösungen

März 13th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Hardware, Homeoffice|Schlagwörter: , |

Schreckmoment am PC: Der USB-Stick oder die externe Festplatte taucht nicht im Explorer auf. Oft ist es kein Hardware-Tod, sondern nur ein Treiberfehler, ein fehlender Laufwerkbuchstabe oder ein falsches Dateisystem. So lösen Sie das Problem Schritt für Schritt.

1303, 2026

Passwort für Word- und Excel-Dateien vergessen: So retten Sie Ihre Daten

März 13th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Excel, Homeoffice, Microsoft Office, Office 365, Word|Schlagwörter: , , , |

Ein vergessenes Passwort bei Word oder Excel ist ärgerlich, bedeutet aber nicht immer Datenverlust. Während sich Schreibschutz durch einen XML-Trick umgehen lässt, erfordern verschlüsselte Dateien spezielle Tools. Hier finden Sie alle Lösungen im Überblick.

2312, 2025

Werbefrei im Heimnetz: Pi-hole auf Windows installieren

Dezember 23rd, 2025|Kategorien: Shorts & Tutorials, Homeoffice, Windows 10/11/12|Schlagwörter: , |

Schluss mit Werbung auf Smart-TVs und in Apps: Mit der Software Pi-hole wird Ihr Windows-Laptop zum Netzwerk-Filter. Dieser Artikel erklärt Schritt für Schritt die Installation via Docker und die nötigen DNS-Einstellungen in der FRITZ!Box.

2212, 2025

Vom Laptop zur Telefonzentrale: So tunest du deine FRITZ!Box zum Profi-Anrufserver

Dezember 22nd, 2025|Kategorien: Shorts & Tutorials, Homeoffice, Windows 10/11/12|Schlagwörter: , |

Mit einer FRITZ!Box und einem Laptop lässt sich eine professionelle Telefonzentrale bauen. Dieser Artikel zeigt Schritt für Schritt, wie man mit der Gratis-Software „Phoner“ zeitgesteuerte Ansagen schaltet und Anrufe aufzeichnet – inkl. wichtiger rechtlicher Hinweise (§ 201 StGB).

2112, 2025

Warum To-Do-Listen Zeitverschwendung sind

Dezember 21st, 2025|Kategorien: Shorts & Tutorials, Homeoffice, Karriere|Schlagwörter: , |

Fühlst du dich am Ende des Tages unproduktiv, obwohl du viel gearbeitet hast? Schuld ist deine To-Do-Liste. Sie verführt zu einfachen Aufgaben und ignoriert deine begrenzte Zeit. Dieser Artikel zeigt, warum Listen "Selbstbetrug" sind und warum Profis stattdessen den Kalender nutzen.

2112, 2025

Stehschreibtisch vs. Ergonomischer Stuhl – Was ist wichtiger?

Dezember 21st, 2025|Kategorien: Shorts & Tutorials, Homeoffice|Schlagwörter: |

Rückenschmerzen im Home Office? Viele fragen sich: Erst in einen Stehschreibtisch oder in einen guten Stuhl investieren? Die Antwort überrascht oft. Erfahre hier, welches Möbelstück wirklich den größten Einfluss auf deine Gesundheit hat und wie du dein Budget clever einsetzt.

Angebote 2025/2026 in: Vorlagen

Popular Posts:

1303, 2026

Festplatte & USB-Stick unsichtbar? Die besten Lösungen

März 13th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Hardware, Homeoffice|Schlagwörter: , |

Schreckmoment am PC: Der USB-Stick oder die externe Festplatte taucht nicht im Explorer auf. Oft ist es kein Hardware-Tod, sondern nur ein Treiberfehler, ein fehlender Laufwerkbuchstabe oder ein falsches Dateisystem. So lösen Sie das Problem Schritt für Schritt.

1303, 2026

Passwort für Word- und Excel-Dateien vergessen: So retten Sie Ihre Daten

März 13th, 2026|Kategorien: Shorts & Tutorials, Datenschutz, Excel, Homeoffice, Microsoft Office, Office 365, Word|Schlagwörter: , , , |

Ein vergessenes Passwort bei Word oder Excel ist ärgerlich, bedeutet aber nicht immer Datenverlust. Während sich Schreibschutz durch einen XML-Trick umgehen lässt, erfordern verschlüsselte Dateien spezielle Tools. Hier finden Sie alle Lösungen im Überblick.

2312, 2025

Werbefrei im Heimnetz: Pi-hole auf Windows installieren

Dezember 23rd, 2025|Kategorien: Shorts & Tutorials, Homeoffice, Windows 10/11/12|Schlagwörter: , |

Schluss mit Werbung auf Smart-TVs und in Apps: Mit der Software Pi-hole wird Ihr Windows-Laptop zum Netzwerk-Filter. Dieser Artikel erklärt Schritt für Schritt die Installation via Docker und die nötigen DNS-Einstellungen in der FRITZ!Box.

2212, 2025

Vom Laptop zur Telefonzentrale: So tunest du deine FRITZ!Box zum Profi-Anrufserver

Dezember 22nd, 2025|Kategorien: Shorts & Tutorials, Homeoffice, Windows 10/11/12|Schlagwörter: , |

Mit einer FRITZ!Box und einem Laptop lässt sich eine professionelle Telefonzentrale bauen. Dieser Artikel zeigt Schritt für Schritt, wie man mit der Gratis-Software „Phoner“ zeitgesteuerte Ansagen schaltet und Anrufe aufzeichnet – inkl. wichtiger rechtlicher Hinweise (§ 201 StGB).

2112, 2025

Warum To-Do-Listen Zeitverschwendung sind

Dezember 21st, 2025|Kategorien: Shorts & Tutorials, Homeoffice, Karriere|Schlagwörter: , |

Fühlst du dich am Ende des Tages unproduktiv, obwohl du viel gearbeitet hast? Schuld ist deine To-Do-Liste. Sie verführt zu einfachen Aufgaben und ignoriert deine begrenzte Zeit. Dieser Artikel zeigt, warum Listen "Selbstbetrug" sind und warum Profis stattdessen den Kalender nutzen.

2112, 2025

Stehschreibtisch vs. Ergonomischer Stuhl – Was ist wichtiger?

Dezember 21st, 2025|Kategorien: Shorts & Tutorials, Homeoffice|Schlagwörter: |

Rückenschmerzen im Home Office? Viele fragen sich: Erst in einen Stehschreibtisch oder in einen guten Stuhl investieren? Die Antwort überrascht oft. Erfahre hier, welches Möbelstück wirklich den größten Einfluss auf deine Gesundheit hat und wie du dein Budget clever einsetzt.

Angebote 2025/2026 in: Vorlagen

2025-12-07T08:04:53+01:00Von |Kategorien: Allgemein|

IHR FINANZ-COCKPIT

Finanz-Cockpit
Ads

Neueste Beiträge:

Alles fürs Büro

Suche nach Kategorie:

Popular Posts:

Search by category:

Herbstangebote 2023

Autumn Specials:

Anzeige
Nach oben