ডাটাবেস ফাংশন

একটি রেকর্ডের জন্য একটি সাারি হিসেবে সাজানো ডাটা নিয়ে এই অংশটি কাজ করে থতাকে।

নোট আইকন LibreOffice এ ইন্টিগ্রেটেড ডাটাবেসের সাথে ডাটাবেসের শ্রেণী মিলিয়ে ফেলতে পারেন। যাই হোক, LibreOffice-এর ডাটাবেস এবং LibreOffice ক্যালকের ডাটাবেস শ্রেণীর মধ্যে কোনো সংযোগ নেই।

উদাহরণ ডাটা:

নিম্নের ডাটা কিছু ফাংশনের ব্যাখ্যার উদাহরণে ব্যবহৃত হবে:

A1: E10 পরিসরে জোর জন্মদিনে আমন্ত্রিত শিশুদের তালিকা তৈরি করা হয়। নিম্নলিখিত তথ্য প্রতিটি ভুক্তির জন্য দেওয়া হয়েছে: কলাম A নাম, B গ্রেড, তারপর বয়স বছরে, স্কুলের দূরত্ব মিটারে এবং ওজন কিলোগ্রামে প্রদর্শন করে।

A

B

C

D

E

1

নাম

গ্রেড

বয়স

স্কুলের দূরত্ব

ওজন

2

অ্যান্ডি

3

9

150

40

3

বেটি

4

10

1000

42

4

চার্লস

3

10

300

51

5

ডেনিয়েল

5

11

1200

48

6

ইভা

2

8

650

33

7

গ্রেড

2

7

300

42

8

গ্রেটা

1

7

200

36

9

হ্যারি

3

9

1200

44

10

আইরিন

2

8

1000

42

11

12

13

নাম

গ্রেড

বয়স

স্কুলের দূরত্ব

ওজন

14

>600

15

16

DCOUNT

5


B16 ঘরের সূত্র হলো =DCOUNT(A1:E10;0;A13:E14)

ডাটাবেস ফাংশনের প্যারামিটার:

নিম্নের আইটেমসমূহ সকল ডাটাবেস ফাংশনের জন্য প্যারামিটারের সংজ্ঞা:

ডাটাবেস হলো ঘরের পরিসর, যা ডাটাবেস নির্ধারণ করে।

DatabaseField specifies the column where the function operates on after the search criteria of the first parameter is applied and the data rows are selected. It is not related to the search criteria itself. For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

SearchCriteria হলো ঘরের পরিসীমা, যাতে অনুসন্ধান নির্ণায়ক রয়েছে। আপনি যদি একই সারিতে বিভিন্ন নির্ণায়ক লিখেন, তারা AND দ্বারা সংযুক্ত হবে। আপনি যদি নির্ণায়কটি বিভিন্ন সারিতে লিখেন, তারা OR দ্বারা সংযুক্ত হবে। অনুসন্ধান নির্ণায়ক পরিসীমার ফাঁকা ঘর উপেক্ষা করা হবে।

Choose - LibreOffice Calc - Calculate to define how LibreOffice Calc acts when searching for identical entries.

See also the Wiki page about Conditional Counting and Summation.

DAVERAGE

DAVERAGE সকল সারির (ডাটাবেস রেকর্ড) সকল ঘরের (ক্ষেত্র) মানের গড় প্রদান করে, যা উল্লেখিত অনুসন্ধান নির্ণায়কের সাথে মিলে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DAVERAGE(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরোক্ত উদাহরণ (অনুগ্রহ করে, উপরে স্ক্রল করুন) হতে একই বয়সের সকল শিশুর গড় ওজন বের করতে, নিম্নোক্ত সূত্রটি B16 ঘরে সন্নিবেশ করান:

=DAVERAGE(A1:E10;"Weight";A13:E14)

গ্রেডের অধীনে, ১৪ নং সারিতে, ৭,৮,৯ ইত্যাদি সন্নিবেশ করান, একটার পরে অন্যটা। একই বয়সের সকল শিশুর গড় ওজন প্রদর্শিত হয়।

DCOUNT

ডাটাবেসের কি পরিমাণ সারি (প্রতিবেদন) উল্লেখিত অনুসন্ধান নির্ণায়কের সাথে মেলে এবং সংখ্যাসূচক মান ধারণ করে, DCOUNT সে সংখ্যা গণনা করে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DCOUNT(Database; DatabaseField; SearchCriteria)

If the DatabaseField argument is omitted, DCOUNT returns the count of all records that satisfy Criteria. For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরের উদাহরণে (অনুগ্রহ করে, উপরে স্ক্রল করুন), কতজন শিশুকে স্কুলে আসতে ৬০০ মিটারের বেশি ভ্রমণ করতে হয়, আমরা তা জানতে চাই। ফলাফল B16 ঘরে সংরক্ষণ করা হবে। কার্সারটি B16 ঘরে রাখুন। B16 ঘরে =DCOUNT(A1:E10;0;A13:E14) সূত্রটি সন্নিবেশ করান। ফাংশন উইজার্ড আপনাকে পরিসীমা ইনপুট দিতে সহায়তা করে।

ডাটাবেস হলো শিরোনাম সহ ডাটার পরিসর, যা মূল্যায়ন করা হবে: এই ক্ষেত্রে A1:E10। DatabaseField অনুসন্ধান নির্ণায়কের জন্য কলাম উল্লেখ করে: এই ক্ষেত্রে, সম্পূর্ণ ডাটাবেস। SearchCriteria হলো এমন পরিসর, যেখানে আপনি অনুসন্ধান প্যারামিটার সন্নিবেশ করাতে পারেন: এই ক্ষেত্রে, A13:E14।

দ্বিতীয় গ্রেডের কতজন শিশুর বয়স ৭ বছরের বেশী জানতে, D14 ঘরের >৬০০ ভুক্তিটি মুছে ফেলুন এবং B14 ঘরে গ্রেডের অধীনে সন্নিবেশ করান, এবং ডান পাশের C14 ঘরে >৭ সন্নিবেশ করান। ফলাফল হলো ২। দ্বিতীয় গ্রেডের শিশুর সংখ্যা দুই এবং তাদের বয়স ৭ বছরের বেশী। যেহেতু উভয় নির্ণায়ক একই সারির, তারা AND দ্বারা সংযুক্ত।

DCOUNTA

ডাটাবেসের কি পরিমাণ সারি (প্রতিবেদন) উল্লেখিত অনুসন্ধান শর্তের সাথে মেলে, এবং সংখ্যাসূচক বা আলফানিউমেরিক মান ধারণ করে, DCOUNTA সেই সংখ্যা গণনা করে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DCOUNTA(Database; DatabaseField; SearchCriteria)

If the DatabaseField argument is omitted, DCOUNTA returns the count of all records that satisfy Criteria. For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরের উদাহরণে (অনুগ্রহ করে স্ক্রল করে উপরে যান), আপনি E এবং পরবর্তী অক্ষর দ্বারা শুরু নামের শিশুর মোট সংখ্যার জন্য অনুসন্ধান করতে পারেন। =DCOUNTA(A1:E10;"Name";A13:E14) পাঠ করার জন্য B16 এ বিদ্যমান সূত্রসমূহ সম্পাদনা করুন। পুরনো অনুসন্ধান শ্রেণীবিভাগ মুছে ফেলুন এবং A14 এ নামের অধীনে >=E সন্নিবেশ করান। ফলাফল হলো ৫। আপনি যদি সারি ৮ এ গ্রেটার জন্য সকল সংখ্যা মান মুছে ফেলতে চান তাহলে ফলাফল ৪ এ পরিবর্তিত হবে। সারি ৮ আর গণনাতে বিদ্যমান থাকে না কারণ এটিতে কোন মান থাকে না। গ্রেটা নামটি একটি টেক্সট, মান নয়। নোট করুন যে, DatabaseField প্যারামিটারটি অবশ্যই মানযুক্ত একটি কলাম নির্দেশ করে থাকে।

DGET

DGET ডাটাবেসের রেফারেন্সকৃত ঘরের বিষয়বস্তু প্রদান করে, যা উল্লেখিত অনুসন্ধান নির্ণায়কের সাথে মিলে। ত্রুটির ক্ষেত্রে, কোনো সারি পাওয়া না গেলে ফাংশনটি হয় #VALUE!, বা একাধিক ঘর পাওয়া গেলে Err502 প্রদান করে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DGET(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরের উদাহরণে (অনুগ্রহ করে, উপরে স্ক্রল করুন), আমরা এমন একটি শিশুর গ্রেড নির্ধারণ করতে চাই, যার নাম A14 ঘরে সন্নিবেশ করানো হয়েছিল। সূত্রটি B16 ঘরে সন্নিবেশ করা হয়েছে এবং পূর্ববর্তী উদাহরণ হতে কিছুটা ভিন্ন, কারণ DatabaseField এর জন্য শুধুমাত্র একটি কলাম (একটি ডাটাবেস ক্ষেত্র) সন্নিবেশ করা যেতে পারে। নিম্নের সূত্রটি সন্নিবেশ করান:

=DGET(A1:E10;"Grade";A13:E14)

A14 ঘরে ফ্র্যাঙ্ক নামটি সন্নিবেশ করান, এবং আপনি ফলাফল ২ দেখবেন। ফ্র্যাঙ্ক দ্বিতীয় গ্রেডের। "Grade" এর পরিবর্তে "Age" সন্নিবেশ করান এবং আপনি ফ্র্যাঙ্কের বয়স পেয়ে যাবেন।

বা শুধুমাত্র C14 ঘরে ১১ সন্নিবেশ করান, এবং এই সারির অন্য ভুক্তিগুলো মুছে ফেলুন। নিম্নরূপে B16 ঘরের সূত্র সম্পাদনা করুন:

=DGET(A1:E10;"Name";A13:E14)

গ্রেডের পরিবর্তে, নাম খোঁজা হয়েছিল। উত্তরটি তখনই পাওয়া যায়: একমাত্র ডেনিয়েলই ১১ বছরের শিশু।

DMAX

DMAX ডাটাবেসের (সকল রেকর্ড) ঘরের (ক্ষেত্র) অধিকাংশ বিষয়বস্তু প্রদান করে যা উল্লেখিত অনুসন্ধান শর্তের সাথে মিলে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DMAX(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরের উদাহরণে (অনুগ্রহ করে স্ক্রল করে উপরে যান) উল্লেখ্য প্রতিটি গ্রেডে কতজন শিশুর ওজন সবচেয়ে বেশী তা বের করার জন্য, নিচের সূত্রটি B16 এ সন্নিবেশ করান।

=DMAX(A1:E10;"Weight";A13:E14)

গ্রেডের অধীনে, ১,২,৩ ইত্যাদি সন্নিবেশ করান, একটার পরে অন্যটা। গ্রেডের সংখ্যা সন্নিবেশ করার পর, সেই গ্রেডের সবচেযে ভারী শিশুর ওজন উপস্থিত হয়।

DMIN

DMIN ডাটাবেসের ঘরের (ক্ষেত্র) নূন্যতম বিষয়বস্তু প্রদান করে, যা উল্লেখিত অনুসন্ধান নির্ণায়কের সাথে মিলে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DMIN(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরোক্ত উদাহরণ (অনুগ্রহ করে, উপরে স্রুল করুন) হতে প্রতিটি গ্রেডের শিশুর জন্য স্কুলে আসার সর্বনিম্ন দূরত্ব খুঁজে বের করতে, নিম্নের সূত্রটি B16 ঘরে সন্নিবেশ করান:

=DMIN(A1:E10;"Distance to School";A13:E14)

গ্রেডের অধীনে, ১৪ নং সারিতে, ১,২,৩ ইত্যাদি সন্নিবেশ করান, একটার পরে অন্যটা। প্রতিটি গ্রেডের জন্য স্কুলে আসার সর্বনিম্ন দুরত্ব প্রদর্শন করা হয়।

DPRODUCT

DPRODUCT ডাটা পরিসরের এমন সকল ঘর গুণন করবে, যেখানে ঘরের বিষয়বস্তু অনুসন্ধান নির্ণায়কের সাথে মিলবে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DPRODUCT(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরোক্ত জন্মদিন অনুষ্ঠানের উদাহরণে (অনুগ্রহ করে, উপরে স্ক্রল করুন), এই ফাংশনটির কোনো অর্থবহ অ্যাপ্লিকেশন নেই।

DSTDEV

প্রদত্ত শর্তের সাথে মিলে, ডাটাবেস কলামের এমন সংখ্যা ব্যবহার করে, DSTDEV একটি নমুনার উপর ভিত্তি করে সমগ্রকের পরিমিত ব্যবধান হিসেব করে। রেকর্ডটি ডাটার নমুনা হিসেবে ব্যবহৃত হয়। এটা দ্বারা বুঝায় যে, এই উদাহরণের শিশুরা সকল শিশুর একটি ক্রস সেকশন উপস্থাপন করে। নোট রাখুন যে, এক হাজারের চেয়ে কম ডাটা সম্বলিত নমুনা থেকে নমুনাস্বরূপ ফলাফল পাওয়া যাবে না।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DSTDEV(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উদাহরণ (অনুগ্রহ করে, উপরে স্ক্রল করুন) থেকে একই বয়সের সকল শিশুর ওজনের পরিমিত ব্যবধান খুঁজে বের করতে, নিম্নোক্ত সূত্রটি B16 ঘরে সন্নিবেশ করান:

=DSTDEV(A1:E10;"Weight";A13:E14)

বয়সের অধীনে, ১৪ নং সারিতে, ৭,৮,৯ ইত্যাদি সন্নিবেশ করান, একটার পরে অন্যটা। প্রদর্শিত ফলাফল একই বয়সের সকল শিশুর ওজনের পরিমিত ব্যবধান।

DSTDEVP

ডাটা পরিসরের সকল ঘরের উপর ভিত্তি করে DSTDEVP সমগ্রকের পরিমিত ব্যবধান হিসেব করে, যা প্রদত্ত নির্ণায়কের সাথে মিলে। উদাহরণ হতে প্রাপ্ত রেকর্ড সম্পূর্ণ সমগ্রক হিসাবে বিবেচনা করা হয়।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DSTDEVP(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

জো'র জন্মদিনের অনুষ্ঠানে (অনুগ্রহ করে, উপরে স্ক্রল করুন) একই বয়সের সকল শিশুর ওজনের পরিমিত ব্যবধান খুঁজে বের করতে, নিম্নোক্ত সূত্রটি B16 ঘরে সন্নিবেশ করান:

=DSTDEVP(A1:E10;"Weight";A13:E14)

বয়সের অধীনে, ১৪ নং সারিতে, ৭,৮,৯ ইত্যাদি সন্নিবেশ করান, একটার পরে অন্যটা। ফলাফল হলো একই বয়সের সকল শিশুর ওজনের পরিমিত ব্যবধান, যাদের ওজন পরীক্ষা করা হয়েছিল।

DSUM

DSUM সকল সারিতে (রেকর্ড) একটি ডাটাবেস ক্ষেত্রে সমস্ত ঘরের মোট ফলাফল প্রদান করে যা উল্লেখিত অনুসন্ধান শ্রেণীবিভাগের সাথে মিলে।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DSUM(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

জোর জন্মদিনে (অনুগ্রহ করে, উপরে স্ক্রল করুন) দ্বিতীয় গ্রেডের সকল শিশুর স্কুলে যাওয়ার মোট দূরত্ব বের করতে, নিম্নোক্ত সূত্রটি B16 ঘরে সন্নিবেশ করান:

=DSUM(A1:E10;"Distance to School";A13:E14)

গ্রেডের অধীনে ১৪ নং সারিতে সন্নিবেশ করান। দ্বিতীয় গ্রেডের সকল শিশুর স্কুলে যাওয়ার মোট দূরত্ব (১৯৫০) প্রদর্শিত হয়।

DVAR

DVAR সকল রেকর্ড ডাটাবেস ক্ষেত্রের সকল ঘরের ভ্যারিয়েন্স প্রদান করে, যা উল্লেখিত অনুসন্ধান নির্ণায়কের সাথে মিলে। উদাহরণের রেকর্ড ডাটার নমুনা হিসেবে বিবেচনা করা হয়। এক হাজারের চেয়ে কম জনসংখ্যার নমুনা থেকে প্রতিনিধিত্বমূলক ফলাফল পাওয়া যাবে না।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DVAR(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

উপরের উদাহরণ (অনুগ্রহ করে, উপর স্ক্রল করুন) হতে একই বয়সের সকল শিশুর ওজনের ভ্যারিয়েন্স খুঁজতে, নিম্নোক্ত সূত্রটি B16 ঘরে সন্নিবেশ করান:

=DVAR(A1:E10;"Weight";A13:E14)

বয়সের অধীনে, ১৪ নং সারিতে, ৭,৮,৯ ইত্যাদি সন্নিবেশ করান, একটার পরে অন্যটা। আপনি ফলাফল হিসেবে এই বয়সের সকল শিশুর ওজনের ভ্যারিয়েন্স দেখতে পাবেন।

DVARP

DVARP সকল রেকর্ডের ডাটাবেস ক্ষেত্রের সকল ঘরের মানের ভ্যারিয়েন্স প্রদান করে, যা উল্লেখিত অনুসন্ধান নির্ণায়কের সাথে মিলে। উদাহরণ থেকে প্রাপ্ত রেকর্ড একটি সম্পূর্ণ জনসংখ্যা হিসেবে বিবেচনা করা হয়।

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in - LibreOffice Calc - Calculate.

সিনট্যাক্স

DVARP(Database; DatabaseField; SearchCriteria)

For the DatabaseField parameter you can enter a reference to a header cell or a number to specify the column within the Database area, starting with 1. To reference a column by means of the literal column header name, place quotation marks around the header name.

উদাহরণ

জো'র জন্মদিনের অনুষ্ঠানে (অনুগ্রহ করে, উপরে স্ক্রল করুন) একই বয়সের সকল শিশুর ওজনের ভ্যারিয়েন্স খুঁজতে, নিম্নোক্ত সূত্রটি B16 ঘরে সন্নিবেশ করান:

=DVARP(A1:E10;"Weight";A13:E14)

বয়সের অধীনে, ১৪ নং সারিতে, ৭,৮,৯ ইত্যাদি সন্নিবেশ করান, একটার পরে অন্যটা। জো'র জন্মদিনের অনুষ্ঠানে উপস্থিত এই বয়সের সকল শিশুর ওজনের মানের ভ্যারিয়েন্স প্রদর্শিত হয়।